Skip to content

Commit 528b6af

Browse files
committed
let's try simpler let's aggressive docker check
Signed-off-by: Filinto Duran <[email protected]>
1 parent 3270020 commit 528b6af

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/extensions/memory/test_dapr_redis_integration.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from __future__ import annotations
1111

1212
import os
13-
import subprocess
1413
import tempfile
1514
import time
1615
import urllib.request
@@ -22,18 +21,6 @@
2221
pytest.importorskip("dapr") # Skip tests if Dapr is not installed
2322
pytest.importorskip("testcontainers") # Skip if testcontainers is not installed
2423

25-
# Check if Docker is available
26-
try:
27-
subprocess.run(
28-
["docker", "info"],
29-
stdout=subprocess.DEVNULL,
30-
stderr=subprocess.DEVNULL,
31-
check=True,
32-
timeout=5,
33-
)
34-
except (subprocess.CalledProcessError, FileNotFoundError, subprocess.TimeoutExpired):
35-
pytest.skip("Docker is not available", allow_module_level=True)
36-
3724
from testcontainers.core.container import DockerContainer # type: ignore[import-untyped]
3825
from testcontainers.core.network import Network # type: ignore[import-untyped]
3926
from testcontainers.redis import RedisContainer # type: ignore[import-untyped]

0 commit comments

Comments
 (0)