summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-10-12 02:24:20 -0400
committerLuke Macken <lmacken@redhat.com>2008-10-12 02:24:20 -0400
commit02f5f9a1a118b4580e5204f498d5701702e0e29b (patch)
treefa98238adf585eb0337c8e538524bb082ed9df64 /tests
parent25c01ac7670930275e71e7b9c7dd4953857529e4 (diff)
Update our test suite to allow empty sha1's in our release list
Diffstat (limited to 'tests')
-rw-r--r--tests/test_creator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_creator.py b/tests/test_creator.py
index cb74f0b..5832954 100644
--- a/tests/test_creator.py
+++ b/tests/test_creator.py
@@ -34,7 +34,8 @@ class TestLiveUSBCreator:
for release in releases:
assert release['name']
assert release['url']
- assert release['sha1'] and len(release['sha1']) == 40
+ if release['sha1']:
+ assert len(release['sha1']) == 40
def test_mount_device(self):
live = self._get_creator()