diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-16 04:24:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 04:24:56 -0500 |
commit | 98962a28f5d89fa7545688bbfca635744279ff7a (patch) | |
tree | 813b7403f52ea42ca0fefed5b19d0410eadc9df0 /test/python | |
parent | 60b0acb7dc6b5bbe05a9556d80e33217b10dde9b (diff) | |
parent | 6a8d29eeadd1a216204fe3bcb2fab75ffbb472d9 (diff) | |
download | podman-98962a28f5d89fa7545688bbfca635744279ff7a.tar.gz podman-98962a28f5d89fa7545688bbfca635744279ff7a.tar.bz2 podman-98962a28f5d89fa7545688bbfca635744279ff7a.zip |
Merge pull request #13239 from baude/e2esincebefore
Fix images since/after tests
Diffstat (limited to 'test/python')
-rw-r--r-- | test/python/docker/compat/test_images.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/python/docker/compat/test_images.py b/test/python/docker/compat/test_images.py index 485a0e419..05d0e3e12 100644 --- a/test/python/docker/compat/test_images.py +++ b/test/python/docker/compat/test_images.py @@ -87,7 +87,8 @@ class TestImages(unittest.TestCase): def test_search_image(self): """Search for image""" for r in self.client.images.search("alpine"): - self.assertIn("alpine", r["Name"]) + # registry matches if string is in either one + self.assertIn("alpine", r["Name"]+" "+r["Description"].lower()) def test_search_bogus_image(self): """Search for bogus image should throw exception""" |