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
+
1
3
import pytest
2
4
3
5
from conftest import in_container
4
6
5
7
6
8
class TestIfdown :
9
+ @pytest .mark .xfail (
10
+ os .environ .get ("NETWORK" ) == "none" ,
11
+ reason = "There won't be any configured interfaces without network" ,
12
+ )
7
13
@pytest .mark .xfail (in_container (), reason = "Probably fails in a container" )
8
14
@pytest .mark .complete ("ifdown " )
9
15
def test_1 (self , completion ):
Original file line number Diff line number Diff line change
1
+ import os
2
+
1
3
import pytest
2
4
3
5
from conftest import in_container
4
6
5
7
6
8
class TestIfup :
9
+ @pytest .mark .xfail (
10
+ os .environ .get ("NETWORK" ) == "none" ,
11
+ reason = "There won't be any configured interfaces without network" ,
12
+ )
7
13
@pytest .mark .xfail (in_container (), reason = "Probably fails in a container" )
8
14
@pytest .mark .complete ("ifup " )
9
15
def test_1 (self , completion ):
You can’t perform that action at this time.
0 commit comments