Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
tests: Make a stronger assertion if the urls is made to atomic and cl…
Browse files Browse the repository at this point in the history
…oud base

Signed-off-by: Sayan Chowdhury <[email protected]>
  • Loading branch information
sayanchowdhury committed Apr 2, 2018
1 parent b6b651f commit 57a2eec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def test_get_rawxz_urls(self):
cloud_base_url = 'https://fedoraproject.org/CloudImages/x86_64/images/Fedora-Cloud-Base-26-1.5.x86_64.raw.xz'

assert len(urls) == 2
assert atomic_url in urls
assert cloud_base_url in urls
self.assertEqual(set(urls), {atomic_url, cloud_base_url})

def test_get_rawxz_urls_empty(self):
images = [
Expand Down

0 comments on commit 57a2eec

Please sign in to comment.