@@ -96,7 +96,7 @@ def test_x_podman_in_pod_false_command_line_in_pod_true(self):
96
96
]
97
97
98
98
try :
99
- out , err = self .run_subprocess_assert_returncode (command_up )
99
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
100
100
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
101
101
102
102
finally :
@@ -221,7 +221,7 @@ def test_x_podman_in_pod_true_command_line_in_pod_not_exists(self):
221
221
]
222
222
223
223
try :
224
- out , err = self .run_subprocess_assert_returncode (command_up )
224
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
225
225
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
226
226
227
227
finally :
@@ -255,7 +255,7 @@ def test_x_podman_in_pod_true_command_line_in_pod_true(self):
255
255
]
256
256
257
257
try :
258
- out , err = self .run_subprocess_assert_returncode (command_up )
258
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
259
259
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
260
260
261
261
finally :
@@ -334,7 +334,7 @@ def test_x_podman_in_pod_true_command_line_in_pod_empty_string(self):
334
334
]
335
335
336
336
try :
337
- out , err = self .run_subprocess_assert_returncode (command_up )
337
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
338
338
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
339
339
340
340
finally :
@@ -368,7 +368,7 @@ def test_x_podman_in_pod_not_exists_command_line_in_pod_not_exists(self):
368
368
]
369
369
370
370
try :
371
- out , err = self .run_subprocess_assert_returncode (command_up )
371
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
372
372
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
373
373
374
374
finally :
@@ -402,7 +402,7 @@ def test_x_podman_in_pod_not_exists_command_line_in_pod_true(self):
402
402
]
403
403
404
404
try :
405
- out , err = self .run_subprocess_assert_returncode (command_up )
405
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
406
406
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
407
407
408
408
finally :
@@ -482,7 +482,7 @@ def test_x_podman_in_pod_not_exists_command_line_in_pod_empty_string(self):
482
482
]
483
483
484
484
try :
485
- out , err = self .run_subprocess_assert_returncode (command_up )
485
+ out , err = self .run_subprocess_assert_returncode (command_up , 125 )
486
486
self .assertEqual (b"Error: --userns and --pod cannot be set together" in err , True )
487
487
488
488
finally :
0 commit comments