@@ -161,23 +161,23 @@ def test_create(self):
161161 '--billing=hourly' ])
162162 self .assert_no_fail (result )
163163 args = ({
164- 'hardware' : [{
165- 'domain' : 'test.com' ,
166- 'primaryBackendNetworkComponent' : {
167- 'router' : {
168- 'id' : 12345
169- }
170- },
171- 'hostname' : 'test-dedicated'
172- }],
173- 'useHourlyPricing' : True ,
174- 'location' : 'DALLAS05' ,
175- 'packageId' : 813 ,
176- 'complexType' : 'SoftLayer_Container_Product_Order_Virtual_DedicatedHost' ,
177- 'prices' : [{
164+ 'hardware' : [{
165+ 'domain' : 'test.com' ,
166+ 'primaryBackendNetworkComponent' : {
167+ 'router' : {
168+ 'id' : 12345
169+ }
170+ },
171+ 'hostname' : 'test-dedicated'
172+ }],
173+ 'useHourlyPricing' : True ,
174+ 'location' : 'DALLAS05' ,
175+ 'packageId' : 813 ,
176+ 'complexType' : 'SoftLayer_Container_Product_Order_Virtual_DedicatedHost' ,
177+ 'prices' : [{
178178 'id' : 200269
179- }],
180- 'quantity' : 1 },)
179+ }],
180+ 'quantity' : 1 },)
181181
182182 self .assert_called_with ('SoftLayer_Product_Order' , 'placeOrder' ,
183183 args = args )
@@ -197,23 +197,23 @@ def test_create_with_gpu(self):
197197 '--billing=hourly' ])
198198 self .assert_no_fail (result )
199199 args = ({
200- 'hardware' : [{
201- 'domain' : 'test.com' ,
202- 'primaryBackendNetworkComponent' : {
203- 'router' : {
204- 'id' : 12345
205- }
206- },
207- 'hostname' : 'test-dedicated'
208- }],
209- 'prices' : [{
210- 'id' : 200269
211- }],
212- 'location' : 'DALLAS05' ,
213- 'packageId' : 813 ,
214- 'complexType' : 'SoftLayer_Container_Product_Order_Virtual_DedicatedHost' ,
215- 'useHourlyPricing' : True ,
216- 'quantity' : 1 },)
200+ 'hardware' : [{
201+ 'domain' : 'test.com' ,
202+ 'primaryBackendNetworkComponent' : {
203+ 'router' : {
204+ 'id' : 12345
205+ }
206+ },
207+ 'hostname' : 'test-dedicated'
208+ }],
209+ 'prices' : [{
210+ 'id' : 200269
211+ }],
212+ 'location' : 'DALLAS05' ,
213+ 'packageId' : 813 ,
214+ 'complexType' : 'SoftLayer_Container_Product_Order_Virtual_DedicatedHost' ,
215+ 'useHourlyPricing' : True ,
216+ 'quantity' : 1 },)
217217
218218 self .assert_called_with ('SoftLayer_Product_Order' , 'placeOrder' ,
219219 args = args )
@@ -239,13 +239,13 @@ def test_create_verify(self):
239239 'useHourlyPricing' : True ,
240240 'hardware' : [{
241241
242- 'hostname' : 'test-dedicated' ,
243- 'domain' : 'test.com' ,
242+ 'hostname' : 'test-dedicated' ,
243+ 'domain' : 'test.com' ,
244244
245245 'primaryBackendNetworkComponent' : {
246- 'router' : {
247- 'id' : 12345
248- }
246+ 'router' : {
247+ 'id' : 12345
248+ }
249249 }
250250 }],
251251 'packageId' : 813 , 'prices' : [{'id' : 200269 }],
@@ -266,11 +266,11 @@ def test_create_verify(self):
266266 self .assert_no_fail (result )
267267
268268 args = ({
269- 'useHourlyPricing' : True ,
270- 'hardware' : [{
271- 'hostname' : 'test-dedicated' ,
272- 'domain' : 'test.com' ,
273- 'primaryBackendNetworkComponent' : {
269+ 'useHourlyPricing' : True ,
270+ 'hardware' : [{
271+ 'hostname' : 'test-dedicated' ,
272+ 'domain' : 'test.com' ,
273+ 'primaryBackendNetworkComponent' : {
274274 'router' : {
275275 'id' : 12345
276276 }
@@ -318,22 +318,22 @@ def test_create_verify_no_price_or_more_than_one(self):
318318
319319 self .assertIsInstance (result .exception , exceptions .ArgumentError )
320320 args = ({
321- 'hardware' : [{
322- 'domain' : 'test.com' ,
323- 'primaryBackendNetworkComponent' : {
324- 'router' : {
325- 'id' : 12345
326- }
327- },
328- 'hostname' : 'test-dedicated'
329- }],
330- 'prices' : [{
331- 'id' : 200269
332- }],
333- 'location' : 'DALLAS05' ,
334- 'packageId' : 813 ,
335- 'complexType' : 'SoftLayer_Container_Product_Order_Virtual_DedicatedHost' ,
336- 'useHourlyPricing' : True ,
337- 'quantity' : 1 },)
321+ 'hardware' : [{
322+ 'domain' : 'test.com' ,
323+ 'primaryBackendNetworkComponent' : {
324+ 'router' : {
325+ 'id' : 12345
326+ }
327+ },
328+ 'hostname' : 'test-dedicated'
329+ }],
330+ 'prices' : [{
331+ 'id' : 200269
332+ }],
333+ 'location' : 'DALLAS05' ,
334+ 'packageId' : 813 ,
335+ 'complexType' : 'SoftLayer_Container_Product_Order_Virtual_DedicatedHost' ,
336+ 'useHourlyPricing' : True ,
337+ 'quantity' : 1 },)
338338
339339 self .assert_called_with ('SoftLayer_Product_Order' , 'verifyOrder' , args = args )
0 commit comments