mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 20:11:30 +00:00
test(devices): provide devices for a service test to fix conditional test fail.
This commit is contained in:
parent
6d2fdab071
commit
39f584ad5c
|
@ -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