pytest: Define plugin and declare it in the root conftest

Then drop all unneeded and indirect imports
This commit is contained in:
Antoine R. Dumont (@ardumont) 2020-09-01 17:43:01 +02:00
parent e99d3464e4
commit 9437a643ad
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
16 changed files with 9 additions and 39 deletions

View file

@ -7,7 +7,7 @@ import os
import pytest
pytest_plugins = ["swh.scheduler.pytest_plugin"]
pytest_plugins = ["swh.scheduler.pytest_plugin", "swh.lister.pytest_plugin"]
os.environ["LC_ALL"] = "C.UTF-8"