@@ -3259,7 +3259,7 @@ def test_prep_replicant_order_volume_cancelled(self):
32593259 exception = self .assertRaises (
32603260 exceptions .SoftLayerError ,
32613261 storage_utils .prepare_replicant_order_object ,
3262- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3262+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
32633263 )
32643264
32653265 self .assertEqual (
@@ -3275,7 +3275,7 @@ def test_prep_replicant_order_volume_cancellation_date_set(self):
32753275 exception = self .assertRaises (
32763276 exceptions .SoftLayerError ,
32773277 storage_utils .prepare_replicant_order_object ,
3278- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3278+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
32793279 )
32803280
32813281 self .assertEqual (
@@ -3292,7 +3292,7 @@ def test_prep_replicant_order_snapshot_space_cancelled(self):
32923292 exception = self .assertRaises (
32933293 exceptions .SoftLayerError ,
32943294 storage_utils .prepare_replicant_order_object ,
3295- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3295+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
32963296 )
32973297
32983298 self .assertEqual (
@@ -3310,7 +3310,7 @@ def test_prep_replicant_order_invalid_location(self):
33103310 exception = self .assertRaises (
33113311 exceptions .SoftLayerError ,
33123312 storage_utils .prepare_replicant_order_object ,
3313- self .block , 'WEEKLY' , 'hoth02' , None , mock_volume , 'block'
3313+ self .block , 'WEEKLY' , 'hoth02' , None , mock_volume , 'block' , 100
33143314 )
33153315
33163316 self .assertEqual (
@@ -3329,7 +3329,7 @@ def test_prep_replicant_order_enterprise_offering_invalid_type(self):
33293329 exception = self .assertRaises (
33303330 exceptions .SoftLayerError ,
33313331 storage_utils .prepare_replicant_order_object ,
3332- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3332+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
33333333 )
33343334
33353335 self .assertEqual (
@@ -3348,7 +3348,7 @@ def test_prep_replicant_order_snapshot_capacity_not_found(self):
33483348 exception = self .assertRaises (
33493349 exceptions .SoftLayerError ,
33503350 storage_utils .prepare_replicant_order_object ,
3351- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3351+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
33523352 )
33533353
33543354 self .assertEqual (
@@ -3385,7 +3385,7 @@ def test_prep_replicant_order_saas_endurance(self):
33853385 }
33863386
33873387 result = storage_utils .prepare_replicant_order_object (
3388- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3388+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
33893389 )
33903390
33913391 self .assertEqual (expected_object , result )
@@ -3419,7 +3419,7 @@ def test_prep_replicant_order_saas_endurance_tier_is_not_none(self):
34193419 }
34203420
34213421 result = storage_utils .prepare_replicant_order_object (
3422- self .block , 'WEEKLY' , 'wdc04' , 2 , mock_volume , 'block'
3422+ self .block , 'WEEKLY' , 'wdc04' , 2 , mock_volume , 'block' , 100
34233423 )
34243424
34253425 self .assertEqual (expected_object , result )
@@ -3437,7 +3437,7 @@ def test_prep_replicant_order_saas_performance_volume_below_staas_v2(self):
34373437 exception = self .assertRaises (
34383438 exceptions .SoftLayerError ,
34393439 storage_utils .prepare_replicant_order_object ,
3440- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3440+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
34413441 )
34423442
34433443 self .assertEqual (
@@ -3472,12 +3472,12 @@ def test_prep_replicant_order_saas_performance(self):
34723472 'originVolumeId' : 102 ,
34733473 'originVolumeScheduleId' : 978 ,
34743474 'volumeSize' : 500 ,
3475- 'iops' : 1000 ,
3475+ 'iops' : 100 ,
34763476 'useHourlyPricing' : False
34773477 }
34783478
34793479 result = storage_utils .prepare_replicant_order_object (
3480- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3480+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
34813481 )
34823482
34833483 self .assertEqual (expected_object , result )
@@ -3494,7 +3494,7 @@ def test_prep_replicant_order_saas_invalid_storage_type(self):
34943494 exception = self .assertRaises (
34953495 exceptions .SoftLayerError ,
34963496 storage_utils .prepare_replicant_order_object ,
3497- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3497+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
34983498 )
34993499
35003500 self .assertEqual (
@@ -3534,7 +3534,7 @@ def test_prep_replicant_order_ent_endurance(self):
35343534 }
35353535
35363536 result = storage_utils .prepare_replicant_order_object (
3537- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3537+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
35383538 )
35393539
35403540 self .assertEqual (expected_object , result )
@@ -3569,7 +3569,7 @@ def test_prep_replicant_order_ent_endurance_tier_is_not_none(self):
35693569 }
35703570
35713571 result = storage_utils .prepare_replicant_order_object (
3572- self .block , 'WEEKLY' , 'wdc04' , 2 , mock_volume , 'block'
3572+ self .block , 'WEEKLY' , 'wdc04' , 2 , mock_volume , 'block' , 100
35733573 )
35743574
35753575 self .assertEqual (expected_object , result )
@@ -3604,7 +3604,7 @@ def test_prep_replicant_order_hourly_billing(self):
36043604 }
36053605
36063606 result = storage_utils .prepare_replicant_order_object (
3607- self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block'
3607+ self .block , 'WEEKLY' , 'wdc04' , None , mock_volume , 'block' , 100
36083608 )
36093609
36103610 self .assertEqual (expected_object , result )
0 commit comments