Commit a26cf3b
committed
Changed tests to use firmware_feature_enabled() methods
Details:
* In tests/end2end/utils.py, changed the skipif_no_storage_mgmt_feature()
and skipif_storage_mgmt_feature() functions to use the
Cpc.firmware_feature_enabled() method instead of the deprecated
Cpc.feature_enabled() method.
* In tests/unit/zhmcclient/test_cpc/partition.py, disabled the
DeprecationWarning for using the deprecated
Cpc/Partition.feature_enabled() in test function
test_cpc/partition_feature_enabled(). That function intentionally
tests the deprecated method.
* In tests/end2end/test_cpc/partition.py, removed the tests of
the deprecated Cpc/Partition.feature_enabled() methods in test
functions test_cpc/partition_features().
Signed-off-by: Andreas Maier <[email protected]>1 parent 0b3978f commit a26cf3b
File tree
6 files changed
+20
-37
lines changed- changes
- tests
- end2end
- unit/zhmcclient
6 files changed
+20
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | | - | |
182 | | - | |
183 | | - | |
| 180 | + | |
184 | 181 | | |
185 | 182 | | |
186 | 183 | | |
| |||
189 | 186 | | |
190 | 187 | | |
191 | 188 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 189 | + | |
196 | 190 | | |
197 | 191 | | |
198 | 192 | | |
199 | 193 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 194 | + | |
206 | 195 | | |
| 196 | + | |
207 | 197 | | |
208 | 198 | | |
209 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | 236 | | |
238 | 237 | | |
239 | 238 | | |
| |||
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
269 | | - | |
270 | | - | |
271 | | - | |
| 268 | + | |
272 | 269 | | |
273 | 270 | | |
274 | 271 | | |
| |||
292 | 289 | | |
293 | 290 | | |
294 | 291 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
| 292 | + | |
299 | 293 | | |
300 | 294 | | |
301 | 295 | | |
302 | 296 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 297 | + | |
309 | 298 | | |
| 299 | + | |
310 | 300 | | |
311 | 301 | | |
312 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
| 577 | + | |
581 | 578 | | |
582 | 579 | | |
583 | 580 | | |
| |||
588 | 585 | | |
589 | 586 | | |
590 | 587 | | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
| 588 | + | |
595 | 589 | | |
596 | 590 | | |
597 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
954 | 957 | | |
955 | 958 | | |
956 | 959 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
589 | 592 | | |
590 | 593 | | |
591 | 594 | | |
| |||
0 commit comments