diff options
author | Brent Baude <bbaude@redhat.com> | 2022-02-15 15:21:00 -0600 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-02-18 11:52:02 -0500 |
commit | 2fd1ff9d1e49ed7105ab4cb2ccfe0cf9a9fcf98b (patch) | |
tree | a350f2e458be7b597bed6f7c8fe5a4399b278239 /test/python/docker | |
parent | ce5359f54ce0c2c74ddb198c87591796c0c70329 (diff) | |
download | podman-2fd1ff9d1e49ed7105ab4cb2ccfe0cf9a9fcf98b.tar.gz podman-2fd1ff9d1e49ed7105ab4cb2ccfe0cf9a9fcf98b.tar.bz2 podman-2fd1ff9d1e49ed7105ab4cb2ccfe0cf9a9fcf98b.zip |
Changes of docker descriptions
It looks like some descriptions have changed on the docker registry
where we had been searching for images that include 'alpine'. We are
now seeing an image in the initial list that has 'alpine' in its
description.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'test/python/docker')
-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 1e2b531b7..4b1620faa 100644 --- a/test/python/docker/compat/test_images.py +++ b/test/python/docker/compat/test_images.py @@ -86,7 +86,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""" |