Thanks to many of you who have worked on the flake warnings over the
last few months, the code base now has zero flakes, and thanks to
hashar a 'flake8' job now votes against any changeset which has
Also, nose tests are also run for every changeset before the code is
merged, but only the tests which do not connect to a site, or have
network activity. In the test files in tests/* , you will see some
are subclasses of NoSiteTestCase , and some have net = True as class
attributes. These clues help nose avoid tests which will connect to
servers, possibly timing out, etc.
Anyone can run the all tests using nose.
To run only the tests which are run by jenkins, even without a
user-config.py file, use
PYWIKIBOT2_NO_USER_CONFIG=1 nosetests -a "!site,!net"