mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 10:59:51 +08:00
Fix module dist_tag separator in tests
This commit is contained in:
@@ -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']))
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user