Use only one skipif

This commit is contained in:
nvbn
2015-07-25 03:33:30 +03:00
parent 129d67f794
commit 2291a5ba5d
2 changed files with 6 additions and 8 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ import pytest
root = str(Path(__file__).parent.parent.parent.resolve())
bare = os.environ.get('BARE')
enabled = os.environ.get('FUNCTIONAL')
def build_container(tag, dockerfile):
@@ -49,5 +50,5 @@ def images(*items):
functional = pytest.mark.skipif(
not os.environ.get('FUNCTIONAL'),
not enabled,
reason='Functional tests are disabled by default.')