File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def test_verify_hourly(self):
133133 self .assert_called_with ('SoftLayer_Product_Order' , 'verifyOrder' )
134134 expected_results = []
135135
136- for price in order ['prices' ]:
136+ for price in order ['orderContainers' ][ 0 ][ ' prices' ]:
137137 expected_results .append ({'keyName' : price ['item' ]['keyName' ],
138138 'description' : price ['item' ]['description' ],
139139 'cost' : price ['hourlyRecurringFee' ]})
@@ -160,7 +160,7 @@ def test_verify_monthly(self):
160160 self .assert_called_with ('SoftLayer_Product_Order' , 'verifyOrder' )
161161 expected_results = []
162162
163- for price in order ['prices' ]:
163+ for price in order ['orderContainers' ][ 0 ][ ' prices' ]:
164164 expected_results .append ({'keyName' : price ['item' ]['keyName' ],
165165 'description' : price ['item' ]['description' ],
166166 'cost' : price ['recurringFee' ]})
@@ -222,4 +222,4 @@ def _get_verified_order_return(self):
222222 'recurringFee' : '120' }
223223 price2 = {'item' : item2 , 'hourlyRecurringFee' : '0.05' ,
224224 'recurringFee' : '150' }
225- return {'prices' : [price1 , price2 ]}
225+ return {'orderContainers' : [{ ' prices' : [price1 , price2 ]} ]}
You can’t perform that action at this time.
0 commit comments