summaryrefslogtreecommitdiff
path: root/test/dockerpy/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dockerpy/common.py')
-rw-r--r--test/dockerpy/common.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dockerpy/common.py b/test/dockerpy/common.py
new file mode 100644
index 000000000..767a94ec0
--- /dev/null
+++ b/test/dockerpy/common.py
@@ -0,0 +1,6 @@
+import docker
+from docker import Client
+
+
+def get_client():
+ return docker.Client(base_url="unix:/run/podman/podman.sock")