test: add unknown tag check test
Test that we fail a compose for an unknown tag.
This commit is contained in:
parent
3908e5f568
commit
6fbdcf505f
1 changed files with 10 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue