File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1010from __future__ import annotations
1111
1212import os
13- import subprocess
1413import tempfile
1514import time
1615import urllib .request
2221pytest .importorskip ("dapr" ) # Skip tests if Dapr is not installed
2322pytest .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-
3724from testcontainers .core .container import DockerContainer # type: ignore[import-untyped]
3825from testcontainers .core .network import Network # type: ignore[import-untyped]
3926from testcontainers .redis import RedisContainer # type: ignore[import-untyped]
You can’t perform that action at this time.
0 commit comments