diff --git a/test/integration/test_koji.py b/test/integration/test_koji.py index df548cb..29a6c9e 100644 --- a/test/integration/test_koji.py +++ b/test/integration/test_koji.py @@ -83,9 +83,12 @@ class TestIntegration(unittest.TestCase): name = info["ID"] # 'fedora' or 'rhel' version = info["VERSION_ID"] # or . - major = version.split(".")[0] - distro = f"{name}-{major}" + comps = version.split(".") + major = comps[0] + minor = comps[1] if len(comps) > 1 else "" + + distro = f"{name}-{major}{minor}" tag = f"{name}{major}-candidate" # fedora or rhel arch = platform.machine()