File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ import os
2+
13import pytest
24
35from conftest import in_container
46
57
68class TestIfdown :
9+ @pytest .mark .xfail (
10+ os .environ .get ("NETWORK" ) == "none" ,
11+ reason = "There won't be any configured interfaces without network" ,
12+ )
713 @pytest .mark .xfail (in_container (), reason = "Probably fails in a container" )
814 @pytest .mark .complete ("ifdown " )
915 def test_1 (self , completion ):
Original file line number Diff line number Diff line change 1+ import os
2+
13import pytest
24
35from conftest import in_container
46
57
68class TestIfup :
9+ @pytest .mark .xfail (
10+ os .environ .get ("NETWORK" ) == "none" ,
11+ reason = "There won't be any configured interfaces without network" ,
12+ )
713 @pytest .mark .xfail (in_container (), reason = "Probably fails in a container" )
814 @pytest .mark .complete ("ifup " )
915 def test_1 (self , completion ):
You can’t perform that action at this time.
0 commit comments