@@ -151,31 +151,29 @@ def test_volume_detail(self):
151151 def test_volume_order_performance_iops_not_given (self ):
152152 result = self .run_command (['file' , 'volume-order' ,
153153 '--storage-type=performance' , '--size=20' ,
154- '--os-type=linux' , '-- location=dal05' ])
154+ '--location=dal05' ])
155155
156156 self .assertEqual (2 , result .exit_code )
157157
158158 def test_volume_order_performance_iops_out_of_range (self ):
159159 result = self .run_command (['file' , 'volume-order' ,
160160 '--storage-type=performance' , '--size=20' ,
161- '--iops=80000' , '--os-type=linux' ,
162- '--location=dal05' ])
161+ '--iops=80000' , '--location=dal05' ])
163162
164163 self .assertEqual (2 , result .exit_code )
165164
166165 def test_volume_order_performance_iops_not_multiple_of_100 (self ):
167166 result = self .run_command (['file' , 'volume-order' ,
168167 '--storage-type=performance' , '--size=20' ,
169- '--iops=122' , '--os-type=linux' ,
170- '--location=dal05' ])
168+ '--iops=122' , '--location=dal05' ])
171169
172170 self .assertEqual (2 , result .exit_code )
173171
174172 def test_volume_order_performance_snapshot_error (self ):
175173 result = self .run_command (['file' , 'volume-order' ,
176174 '--storage-type=performance' , '--size=20' ,
177- '--iops=100' , '--os-type=linux ' ,
178- '--location=dal05' , '-- snapshot-size=10' ])
175+ '--iops=100' , '--location=dal05 ' ,
176+ '--snapshot-size=10' ])
179177
180178 self .assertEqual (2 , result .exit_code )
181179
@@ -194,8 +192,7 @@ def test_volume_order_performance(self, order_mock):
194192
195193 result = self .run_command (['file' , 'volume-order' ,
196194 '--storage-type=performance' , '--size=20' ,
197- '--iops=100' , '--os-type=linux' ,
198- '--location=dal05' ])
195+ '--iops=100' , '--location=dal05' ])
199196
200197 self .assert_no_fail (result )
201198 self .assertEqual (result .output ,
@@ -206,7 +203,7 @@ def test_volume_order_performance(self, order_mock):
206203 def test_volume_order_endurance_tier_not_given (self ):
207204 result = self .run_command (['file' , 'volume-order' ,
208205 '--storage-type=endurance' , '--size=20' ,
209- '--os-type=linux' , '-- location=dal05' ])
206+ '--location=dal05' ])
210207
211208 self .assertEqual (2 , result .exit_code )
212209
@@ -226,8 +223,8 @@ def test_volume_order_endurance(self, order_mock):
226223
227224 result = self .run_command (['file' , 'volume-order' ,
228225 '--storage-type=endurance' , '--size=20' ,
229- '--tier=0.25' , '--os-type=linux ' ,
230- '--location=dal05' , '-- snapshot-size=10' ])
226+ '--tier=0.25' , '--location=dal05 ' ,
227+ '--snapshot-size=10' ])
231228
232229 self .assert_no_fail (result )
233230 self .assertEqual (result .output ,
@@ -242,8 +239,7 @@ def test_volume_order_order_not_placed(self, order_mock):
242239
243240 result = self .run_command (['file' , 'volume-order' ,
244241 '--storage-type=endurance' , '--size=20' ,
245- '--tier=0.25' , '--os-type=linux' ,
246- '--location=dal05' ])
242+ '--tier=0.25' , '--location=dal05' ])
247243
248244 self .assert_no_fail (result )
249245 self .assertEqual (result .output ,
0 commit comments