mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Simplify logic
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
66bdc36a31
commit
1195971ffd
1 changed files with 1 additions and 2 deletions
|
@ -238,9 +238,8 @@ def test_pkgrepo_with_comments(pkgrepo, pkgrepo_with_comments_name, subtests):
|
|||
@pytest.fixture
|
||||
def copr_pkgrepo_with_comments_name(pkgrepo, grains):
|
||||
if (
|
||||
grains["osfinger"] in ("CentOS Linux-7")
|
||||
grains["osfinger"] in ("CentOS Linux-7", "Amazon Linux-2")
|
||||
or grains["os"] == "VMware Photon OS"
|
||||
or grains["osfinger"] == "Amazon Linux-2"
|
||||
):
|
||||
pytest.skip("copr plugin not installed on {} CI".format(grains["osfinger"]))
|
||||
if (
|
||||
|
|
Loading…
Add table
Reference in a new issue