88
99import json
1010
11- from pprint import pprint as pp
12-
1311
1412class BandwidthTests (testing .TestCase ):
1513 def test_bandwidth_pools (self ):
@@ -31,7 +29,6 @@ def test_bandwidth_summary(self):
3129 self .assert_no_fail (result )
3230 self .assert_called_with ('SoftLayer_Search' , 'advancedSearch' )
3331 json_output = json .loads (result .output )
34- pp (json_output )
3532 self .assertEqual (5 , len (json_output ))
3633 self .assertEqual (100250634 , json_output [0 ]['Id' ])
3734 self .assertEqual ('TestRegion' , json_output [0 ]['Pool' ])
@@ -51,7 +48,6 @@ def test_create_bandwidth(self):
5148 self .assert_no_fail (result )
5249 self .assert_called_with ('SoftLayer_Network_Bandwidth_Version1_Allotment' , 'createObject' )
5350 json_output = json .loads (result .output )
54- pp (json_output )
5551 self .assertEqual (123456789 , json_output ['Id' ])
5652 self .assertEqual ('NewRegion' , json_output ['Name Pool' ])
5753 self .assertEqual ('SJC/DAL/WDC/TOR/MON' , json_output ['Region' ])
@@ -61,7 +57,6 @@ def test_edit_bandwidth(self):
6157 self .assert_no_fail (result )
6258 self .assert_called_with ('SoftLayer_Network_Bandwidth_Version1_Allotment' , 'editObject' )
6359 json_output = json .loads (result .output )
64- pp (json_output )
6560 self .assertEqual (123456 , json_output ['Id' ])
6661 self .assertEqual ('MexRegionEdited' , json_output ['Name Pool' ])
6762 self .assertEqual ('MEX' , json_output ['Region' ])
0 commit comments