Fix module dist_tag separator in tests

This commit is contained in:
Jan Kaluza
2017-08-31 10:46:42 -04:00
parent 94a97aa83c
commit ac92a389d6
2 changed files with 3 additions and 3 deletions

View File

@@ -292,7 +292,7 @@ class TestBuild(unittest.TestCase):
# Check that the components are added to buildroot after the batch
# is built.
buildroot_groups = []
buildroot_groups.append(set([u'module-build-macros-0.1-1.module_fc4ed5f7.src.rpm-1-1']))
buildroot_groups.append(set([u'module-build-macros-0.1-1.module+fc4ed5f7.src.rpm-1-1']))
buildroot_groups.append(set([u'perl-Tangerine?#f24-1-1', u'perl-List-Compare?#f25-1-1']))
buildroot_groups.append(set([u'tangerine?#f23-1-1']))

View File

@@ -126,7 +126,7 @@ class TestKojiBuilder(unittest.TestCase):
"id": 9000,
"name": "foo",
"version": "1.0",
"release": "1.module_e0095747",
"release": "1.module+e0095747",
}]
builder.koji_session.untaggedBuilds.return_value = untagged
@@ -134,7 +134,7 @@ class TestKojiBuilder(unittest.TestCase):
expected = tagged_build
self.assertEquals(actual, expected)
builder.koji_session.tagBuild.assert_called_once_with(
1, 'foo-1.0-1.module_e0095747')
1, 'foo-1.0-1.module+e0095747')
def test_get_build_by_artifact_when_nothing_exists(self):
""" Test the _get_build_by_artifact super un-happy path.