Skip to content

Commit

Permalink
Small alignments with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
meaksh committed Jun 11, 2024
1 parent e380917 commit 735faba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions tests/pytests/functional/cache/test_consul.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@

import salt.cache
import salt.loader
from salt.utils.versions import Version
from tests.pytests.functional.cache.helpers import run_common_cache_tests

pytest.importorskip(
"consul",
reason="Please install python-consul package to use consul data cache driver",
)
docker = pytest.importorskip("docker")
docker = pytest.importorskip("docker", minversion="4.0.0")

log = logging.getLogger(__name__)

Expand All @@ -25,10 +24,6 @@
pytest.mark.slow_test,
pytest.mark.skip_if_binaries_missing("dockerd"),
pytest.mark.skipif(INSIDE_CONTAINER, reason="Cannot run in a container"),
pytest.mark.skipif(
Version(docker.__version__) < Version("4.0.0"),
reason="Test does not work in this version of docker-py",
),
]


Expand Down
2 changes: 0 additions & 2 deletions tests/pytests/integration/cli/test_syndic_eauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

import pytest

from tests.conftest import CODE_DIR

docker = pytest.importorskip("docker", minversion="4.0.0")

INSIDE_CONTAINER = os.getenv("HOSTNAME", "") == "salt-test-container"
Expand Down

0 comments on commit 735faba

Please sign in to comment.