@@ -141,10 +141,10 @@ def test_place(self):
141141
142142 self .assert_no_fail (result )
143143 self .assert_called_with ('SoftLayer_Product_Order' , 'placeOrder' )
144- self .assertEqual ({ 'id' : 1234 ,
145- 'created' : order_date ,
146- ' status' : ' APPROVED' } ,
147- json . loads (result .output ))
144+ self .assertEqual ("('package', 'DALLAS13', ('ITEM1',)) \n "
145+ 'Warning: Closed soon: ams01.pod01, wdc07.pod01, TEST00.pod2 \n '
146+ '{ \n "id": 1234, \n "created": "2017-04-04 07:39:20", \n " status": " APPROVED" \n } \n ' ,
147+ str (result .output ))
148148
149149 def test_place_with_quantity (self ):
150150 order_date = '2017-04-04 07:39:20'
@@ -162,10 +162,10 @@ def test_place_with_quantity(self):
162162
163163 self .assert_no_fail (result )
164164 self .assert_called_with ('SoftLayer_Product_Order' , 'placeOrder' )
165- self .assertEqual ({ 'id' : 1234 ,
166- 'created' : order_date ,
167- ' status' : ' APPROVED' } ,
168- json . loads (result .output ))
165+ self .assertEqual ("('package', 'DALLAS13', ('ITEM1',)) \n "
166+ 'Warning: Closed soon: ams01.pod01, wdc07.pod01, TEST00.pod2 \n '
167+ '{ \n "id": 1234, \n "created": "2017-04-04 07:39:20", \n " status": " APPROVED" \n } \n ' ,
168+ str (result .output ))
169169
170170 def test_place_extras_parameter_fail (self ):
171171 result = self .run_command (['-y' , 'order' , 'place' , 'package' , 'DALLAS13' , 'ITEM1' ,
0 commit comments