Page MenuHomePhabricator

Using pytest-httpbin
Closed, ResolvedPublic

Description

The test suite may be used with unittest, nose or pytest or any other advanced test runner.
If pytest is used, pytest-httpbin should also be used.

i.e. the http_tests should be enhanced so that they can either use pytest-httpbin, or will use http://httpbin.org/ when the test runner nose is used.

Details

Related Gerrit Patches:
pywikibot/core : masterUsing pytest-httpbin

Event Timeline

jayvdb created this task.Dec 17 2016, 9:53 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptDec 17 2016, 9:53 PM

Change 329644 had a related patch set uploaded (by Phantom42):
Using pytest-httpbin

https://gerrit.wikimedia.org/r/329644

I finished enhancing tests. I have checked it with unittest, nose and pytest - everything seems to be okay.
If anything is wrong with implementation, please tell and I will fix it.

Nice going so far. I can more usually be reached at https://gitter.im/jayvdb

Change 329644 merged by jenkins-bot:
Using pytest-httpbin

https://gerrit.wikimedia.org/r/329644

nikitavbv closed this task as Resolved.Jan 5 2017, 12:36 PM

The change is merged, so I think we can mark this as resolved.