Fix pytests and enable parallel registry tests

This commit is contained in:
Joseph Schorr 2016-12-15 12:04:57 -05:00
parent 135f4dae0c
commit 481cebe46b
7 changed files with 29 additions and 13 deletions

View file

@ -34,7 +34,7 @@ class TestTags(unittest.TestCase):
def assertTagsForRef(self, ref, tags):
prepared = PreparedBuild()
prepared.tags_from_ref(ref, default_branch='master')
self.assertEquals(tags, prepared._tags)
self.assertEquals(set(tags), set(prepared._tags))
def test_normal(self):
self.assertTagsForRef('ref/heads/somebranch', ['somebranch'])