From 69a05de3d7d5c9060e6b7ba4ee01593c5e56abb4 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Wed, 20 Sep 2023 13:34:44 +0000 Subject: [PATCH] test(backup): ensure we actually call backup fixture and related resets --- tests/test_graphql/test_api_backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_graphql/test_api_backup.py b/tests/test_graphql/test_api_backup.py index b44fd44..9543f22 100644 --- a/tests/test_graphql/test_api_backup.py +++ b/tests/test_graphql/test_api_backup.py @@ -1,5 +1,6 @@ from os import path -from tests.test_graphql.test_backup import dummy_service, backups, raw_dummy_service +from tests.test_graphql.test_backup import backups +from tests.test_graphql.test_backup import raw_dummy_service, dummy_service from tests.common import generate_backup_query @@ -301,7 +302,7 @@ def test_dummy_service_convertible_to_gql(dummy_service): assert gql_service is not None -def test_snapshots_empty(authorized_client, dummy_service): +def test_snapshots_empty(authorized_client, dummy_service, backups): snaps = api_snapshots(authorized_client) assert snaps == [] @@ -370,7 +371,6 @@ def test_remove(authorized_client, generic_userdata, backups): assert len(configuration["encryptionKey"]) > 1 assert configuration["isInitialized"] is False - def test_autobackup_quotas_nonzero(authorized_client, backups): quotas = _AutobackupQuotas( last=3,