mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-17 16:09:14 +00:00
test(devices): provide devices for a service test to fix conditional test fail.
This commit is contained in:
parent
442538ee43
commit
0fda29cdd7
|
@ -543,8 +543,8 @@ def test_disable_enable(authorized_client, only_dummy_service):
|
||||||
assert api_dummy_service["status"] == ServiceStatus.ACTIVE.value
|
assert api_dummy_service["status"] == ServiceStatus.ACTIVE.value
|
||||||
|
|
||||||
|
|
||||||
def test_move_immovable(authorized_client, only_dummy_service):
|
def test_move_immovable(authorized_client, dummy_service_with_binds):
|
||||||
dummy_service = only_dummy_service
|
dummy_service = dummy_service_with_binds
|
||||||
dummy_service.set_movable(False)
|
dummy_service.set_movable(False)
|
||||||
root = BlockDevices().get_root_block_device()
|
root = BlockDevices().get_root_block_device()
|
||||||
mutation_response = api_move(authorized_client, dummy_service, root.name)
|
mutation_response = api_move(authorized_client, dummy_service, root.name)
|
||||||
|
|
Loading…
Reference in a new issue