Skip to content

Commit b1c9ba4

Browse files
committed
Fix unit tests
1 parent b45c678 commit b1c9ba4

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

tests/conftest.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@
3737

3838
logger = logging.getLogger(__name__)
3939

40-
pytest_plugins = [
41-
"tests.test_unit.test_transfers.transfer_fixtures",
42-
"tests.test_unit.test_auth.auth_fixtures",
43-
"tests.test_unit.test_users.user_fixtures",
44-
"tests.test_unit.test_runs.run_fixtures",
45-
"tests.test_unit.test_connections.connection_fixtures",
46-
"tests.test_unit.test_scheduler.scheduler_fixtures",
47-
"tests.test_integration.test_scheduler.scheduler_fixtures",
48-
"tests.test_integration.test_run_transfer.connection_fixtures",
49-
]
50-
5140

5241
@pytest.fixture
5342
def access_token_settings(settings: Settings) -> JWTSettings:

tests/test_integration/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pytest_plugins = [
2+
"tests.test_integration.test_scheduler.scheduler_fixtures",
3+
"tests.test_integration.test_run_transfer.connection_fixtures",
4+
]

tests/test_unit/conftest.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@
2222
create_user,
2323
)
2424

25+
pytest_plugins = [
26+
"tests.test_unit.test_transfers.transfer_fixtures",
27+
"tests.test_unit.test_auth.auth_fixtures",
28+
"tests.test_unit.test_users.user_fixtures",
29+
"tests.test_unit.test_runs.run_fixtures",
30+
"tests.test_unit.test_connections.connection_fixtures",
31+
"tests.test_unit.test_scheduler.scheduler_fixtures",
32+
]
33+
2534

2635
async def create_group_member(
2736
username: str,

0 commit comments

Comments
 (0)