Last modified: 2014-09-09 22:05:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58959, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56959 - Tests: allow for offline operation
Tests: allow for offline operation
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-12 21:40 UTC by Merlijn van Deen (test)
Modified: 2014-09-09 22:05 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2013-11-12 21:40:24 UTC
https://integration.wikimedia.org/ci/job/pywikibot-core-tests/186/consoleFull failed due to a lack of network connectivity. It would be great to first do a quick check if enwiki is online/accessible, and if not, to skip all network-requiring tests.
Comment 1 Gerrit Notification Bot 2014-09-03 11:39:07 UTC
Change 154469 had a related patch set uploaded by John Vandenberg:
Test metaclass

https://gerrit.wikimedia.org/r/154469
Comment 2 John Mark Vandenberg 2014-09-03 11:45:56 UTC
With change 154469, the loading of each site is moved into setUpClass.  Additional code will be needed to nicely skip the tests if the site couldnt be contacted, however that needs to be another changeset as the API is very unfriendly for this, as it wants to retry the connection many (12?) times by default before giving up.
Comment 3 Gerrit Notification Bot 2014-09-09 21:32:49 UTC
Change 154469 merged by XZise:
Test metaclass

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links