mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-17 08:02:36 +00:00
test(backups, token_repo): move non-graphql tests out of graphql
This commit is contained in:
parent
d7c75e0aa8
commit
1a65545c29
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"tokens": [
|
||||
{
|
||||
"token": "KG9ni-B-CMPk327Zv1qC7YBQaUGaBUcgdkvMvQ2atFI",
|
||||
"name": "primary_token",
|
||||
"date": "2022-07-15 17:41:31.675698"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"tokens": [
|
||||
{
|
||||
"token": "KG9ni-B-CMPk327Zv1qC7YBQaUGaBUcgdkvMvQ2atFI",
|
||||
"name": "primary_token",
|
||||
"date": "2022-07-15 17:41:31.675698"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue