File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
tests/unit_tests/instance_types Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1515STORAGE_SIZE = 1800
1616INSTANCE_TYPE_DESCRIPTION = "Dedicated Bare metal Server"
1717PRICE_PER_HOUR = 5.0
18+ SPOT_PRICE_PER_HOUR = 2.5
1819INSTANCE_TYPE = "8V100.48M"
1920
2021
@@ -48,6 +49,7 @@ def test_instance_types(http_client):
4849 },
4950 "description" : INSTANCE_TYPE_DESCRIPTION ,
5051 "price_per_hour" : "5.00" ,
52+ "spot_price" : "2.50" ,
5153 "instance_type" : INSTANCE_TYPE
5254 }
5355 ],
@@ -67,6 +69,7 @@ def test_instance_types(http_client):
6769 assert instance_type .id == TYPE_ID
6870 assert instance_type .description == INSTANCE_TYPE_DESCRIPTION
6971 assert instance_type .price_per_hour == PRICE_PER_HOUR
72+ assert instance_type .spot_price_per_hour == SPOT_PRICE_PER_HOUR
7073 assert instance_type .instance_type == INSTANCE_TYPE
7174 assert type (instance_type .cpu ) == dict
7275 assert type (instance_type .gpu ) == dict
You can’t perform that action at this time.
0 commit comments