mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
test(conftest): skip Salt version test for nightly
This commit is contained in:
parent
100d972703
commit
83f9c1e190
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,6 @@ def target_python_version():
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
def target_salt_version():
|
def target_salt_version():
|
||||||
target_salt = os.environ["KITCHEN_SUITE"].split("-", 2)[-1].replace("-", ".")
|
target_salt = os.environ["KITCHEN_SUITE"].split("-", 2)[-1].replace("-", ".")
|
||||||
if target_salt in ("latest", "master"):
|
if target_salt in ("latest", "master", "nightly"):
|
||||||
pytest.skip("Don't have a specific salt version to test against")
|
pytest.skip("Don't have a specific salt version to test against")
|
||||||
return target_salt
|
return target_salt
|
||||||
|
|
Loading…
Add table
Reference in a new issue