Page MenuHomePhabricator

Ensure all unit tests work offline
Closed, DuplicatePublic

Description

Some of the unit tests currently rely on an internet connection to run. This slows down the tests and means the full test suite cannot be run if offline.

This is most often due to e.g. pywikibot.Site checking siteinfo when being initialized.

Mocking and possibly some refactoring should be able to address this.