pytest: Define plugin and declare it in the root conftest
Then drop all unneeded and indirect imports
This commit is contained in:
parent
e99d3464e4
commit
9437a643ad
16 changed files with 9 additions and 39 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2019 The Software Heritage developers
|
||||
# Copyright (C) 2019-2020 The Software Heritage developers
|
||||
# See the AUTHORS file at the top-level directory of this distribution
|
||||
# License: GNU General Public License version 3, or any later version
|
||||
# See top-level LICENSE file for more information
|
||||
|
@ -9,7 +9,6 @@ from pytest_postgresql.janitor import DatabaseJanitor
|
|||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
|
||||
from swh.lister.core.tests.conftest import * # noqa
|
||||
from swh.lister.core.models import SQLBase
|
||||
from swh.lister.debian import debian_init
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue