diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-06-24 12:40:55 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-06-24 12:40:55 -0700 |
commit | d7770df5ef9f6085a5e31e3260f7dc1f0056f162 (patch) | |
tree | e4b6b381ff67448209f3787483e24ae960e3911e /test/python/dockerpy/tests/constant.py | |
parent | 988fd27541dfa852ee9543c2d8a916896ef0c774 (diff) | |
download | podman-d7770df5ef9f6085a5e31e3260f7dc1f0056f162.tar.gz podman-d7770df5ef9f6085a5e31e3260f7dc1f0056f162.tar.bz2 podman-d7770df5ef9f6085a5e31e3260f7dc1f0056f162.zip |
Fix python dockerpy tests
* Refactor packaging so unittest discovery works
* Refactor tests to use python3-docker.rpm that ships with Fedora32
* Flush image cache between tests suites
* Update documentation to reflect changes
Outstanding issue:
* client.get_image() does not fail if image does not exist
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/python/dockerpy/tests/constant.py')
-rw-r--r-- | test/python/dockerpy/tests/constant.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/python/dockerpy/tests/constant.py b/test/python/dockerpy/tests/constant.py new file mode 100644 index 000000000..b44442d02 --- /dev/null +++ b/test/python/dockerpy/tests/constant.py @@ -0,0 +1,13 @@ +BB = "docker.io/library/busybox:latest" +NGINX = "docker.io/library/nginx:latest" +ALPINE = "docker.io/library/alpine:latest" +ALPINE_SHORTNAME = "alpine" +ALPINELISTTAG = "docker.io/library/alpine:3.10.2" +ALPINELISTDIGEST = "docker.io/library/alpine@sha256:72c42ed48c3a2db31b7dafe17d275b634664a708d901ec9fd57b1529280f01fb" +ALPINEAMD64DIGEST = "docker.io/library/alpine@sha256:acd3ca9941a85e8ed16515bfc5328e4e2f8c128caa72959a58a127b7801ee01f" +ALPINEAMD64ID = "961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4" +ALPINEARM64DIGEST = "docker.io/library/alpine@sha256:db7f3dcef3d586f7dd123f107c93d7911515a5991c4b9e51fa2a43e46335a43e" +ALPINEARM64ID = "915beeae46751fc564998c79e73a1026542e945ca4f73dc841d09ccc6c2c0672" +infra = "k8s.gcr.io/pause:3.2" +TOP = "top" +ImageCacheDir = "/tmp/podman/imagecachedir" |