test(backups, token_repo): move non-graphql tests out of graphql

This commit is contained in:
Houkime 2023-12-04 15:35:50 +00:00
parent d7c75e0aa8
commit 1a65545c29
12 changed files with 21 additions and 3 deletions

View file

@ -1,6 +1,6 @@
from os import path
from tests.test_graphql.test_backup import backups
from tests.test_graphql.test_backup import raw_dummy_service, dummy_service
from tests.test_backup import backups
from tests.test_common import raw_dummy_service, dummy_service
from tests.common import generate_backup_query

View file

@ -10,7 +10,7 @@ from selfprivacy_api.utils.block_devices import BlockDevices
import tests.test_graphql.test_api_backup
from tests.test_common import raw_dummy_service, dummy_service
from tests.common import generate_service_query
from tests.test_graphql.common import assert_ok, get_data
from tests.test_graphql.test_api_backup import assert_ok, get_data
@pytest.fixture()

View file

@ -0,0 +1,9 @@
{
"tokens": [
{
"token": "KG9ni-B-CMPk327Zv1qC7YBQaUGaBUcgdkvMvQ2atFI",
"name": "primary_token",
"date": "2022-07-15 17:41:31.675698"
}
]
}

View file

@ -0,0 +1,9 @@
{
"tokens": [
{
"token": "KG9ni-B-CMPk327Zv1qC7YBQaUGaBUcgdkvMvQ2atFI",
"name": "primary_token",
"date": "2022-07-15 17:41:31.675698"
}
]
}