Skip to content

Commit da11d9d

Browse files
author
Ruslan Gainutdinov
committed
fix: fix
1 parent f71b67d commit da11d9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit_tests/instances/test_instances.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ def test_create_spot_instance_with_spot_volume_policy(self, instances_service, e
291291
# assert
292292
request_body = responses.calls[0].request.body.decode('utf-8')
293293
body = json.loads(request_body)
294-
assert body['os_volume']['name'] == SPOT_INSTANCE_OS_VOLUME.name
295-
assert body['os_volume']['size'] == SPOT_INSTANCE_OS_VOLUME.size
294+
assert body['os_volume']['name'] == os_volume.name
295+
assert body['os_volume']['size'] == os_volume.size
296296
assert body['os_volume']['on_spot_discontinue'] == 'delete_permanently'
297297

298298
def test_create_instance_attached_os_volume_successful(self, instances_service, endpoint):

0 commit comments

Comments
 (0)