mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-15 02:17:43 +00:00
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>
This commit is contained in:
parent
ce5359f54c
commit
2fd1ff9d1e
1 changed files with 2 additions and 1 deletions
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue