test: add unknown tag check test

Test that we fail a compose for an unknown tag.
This commit is contained in:
Christian Kellner 2020-09-11 16:50:11 +02:00 committed by Tom Gundersen
parent 3908e5f568
commit 6fbdcf505f

View file

@ -60,3 +60,13 @@ class TestIntegration(unittest.TestCase):
"x86_64", "x86_64",
repo=F32_REPO) repo=F32_REPO)
self.check_res(res) self.check_res(res)
def test_unknown_tag_check(self):
"""Unknown Tag check"""
# Check building an unknown tag fails
res = self.koji("Fedora-Cloud",
"32",
"fedora-32",
"UNKNOWNTAG",
"x86_64")
self.check_fail(res)