Skip to content

Commit 3d5850f

Browse files
authored
Merge pull request #956 from mastastny/add_skipif
2 parents fc3920e + 1de4466 commit 3d5850f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

testsuite/tests/apicast/policy/fapi/test_baseline_profile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
import pytest
1010
import threescale_api
1111

12-
from testsuite import rawobj
12+
from packaging.version import Version
1313
from testsuite.utils import blame
14+
from testsuite import TESTED_VERSION, rawobj
15+
16+
pytestmark = pytest.mark.skipif(TESTED_VERSION < Version("2.16"), reason="Threescale version must be at least 2.16.0")
1417

1518

1619
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)