Last modified: 2014-09-09 22:05:30 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.
Change 154469 had a related patch set uploaded by John Vandenberg: Test metaclass https://gerrit.wikimedia.org/r/154469
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.
Change 154469 merged by XZise: Test metaclass https://gerrit.wikimedia.org/r/154469