Page MenuHomePhabricator

Allow report page tests to run offline
Closed, ResolvedPublic

Description

As is the tests of "statistics output" all call the live api as part of the Site (or Site+Page) creation process. These should be mocked to allow these to be run offline.

Event Timeline

Change 456635 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil):
[labs/tools/heritage@master] Make report page tests work offline

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

Change 456635 merged by jenkins-bot:
[labs/tools/heritage@master] Make report page tests work offline

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

I would have hoped the tests would run faster after this, but a time tox -e py27 still yields ~30s :-(

There are still some other tests which connect to live sites