Staging instance, all changes can be removed at any time

Skip to content

Migrate from nose to pytest and add tox.ini

Migrate swh-web tests from nose to pytest.

The good news is that thanks to pytest-django, we benefit from the same tests features as when using the command $ python3 manage.py test: automatic migrations, in-memory database, ... This greatly simplifies the tests setup.

Also add tox.ini and fix deprecation warnings printed by the latest pytest version available on PyPI.

Related swh-environment#1261 (closed) Related swh/infra/ci-cd/swh-jenkins-jobs#1247 (closed)


Migrated from D616 (view on Phabricator)

Merge request reports

Loading