diff options
author | Sujil02 <sushah@redhat.com> | 2020-05-27 12:58:52 -0400 |
---|---|---|
committer | Sujil02 <sushah@redhat.com> | 2020-06-04 16:04:34 -0400 |
commit | 359d67a68773747a269c407d9e62bee7f36d1d15 (patch) | |
tree | a8f0bd54906624e28ab8551a12abbe831efea80d /test/dockerpy/common.py | |
parent | 1f8c509fafb4ce41970c4f28ed55daec459c7520 (diff) | |
download | podman-359d67a68773747a269c407d9e62bee7f36d1d15.tar.gz podman-359d67a68773747a269c407d9e62bee7f36d1d15.tar.bz2 podman-359d67a68773747a269c407d9e62bee7f36d1d15.zip |
Adds docker py regression test.
Adds test to validate podman image endpoints.
Adds readme on how to run python tests
Adds contants file.
Signed-off-by: Sujil02 <sushah@redhat.com>
Diffstat (limited to 'test/dockerpy/common.py')
-rw-r--r-- | test/dockerpy/common.py | 6 |
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") |