• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mwclient / mwclient / 422
78%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2018 07:03PM UTC
Jobs 5
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
422

push

travis-ci

danmichaelo
Change invocation syntax to relative Site() examples

This is what is imported at the beginning of the examples.
This could also be done by changing the import to 'import mwclient'
rather than 'from mwclient import Site'.

Neither seems more correct but I have tried to follow
what seems most intended.

>>> from mwclient import Site
>>> site = mwclient.Site('en.wikipedia.org')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'mwclient' is not defined

vs.

>>> site = Site('en.wikipedia.org')
>>> page = site.pages['Greater guinea pig']
>>> text = page.text()
>>> page.exists
True

706 of 1086 relevant lines covered (65.01%)

3.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 422.1 22 Nov 2018 07:03PM UTC 0
65.01
Travis Job 422.1
2 422.2 22 Nov 2018 07:04PM UTC 0
64.92
Travis Job 422.2
3 422.3 22 Nov 2018 07:05PM UTC 0
64.92
Travis Job 422.3
4 422.4 22 Nov 2018 07:03PM UTC 0
64.92
Travis Job 422.4
5 422.5 22 Nov 2018 07:04PM UTC 0
64.92
Travis Job 422.5
Source Files on build 422
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #422
  • 7f59df33 on github
  • Prev Build on master (#420)
  • Next Build on master (#423)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc