test/builder: ensure a successful build is tagged
Use the new MockHost class and its `tags` property to ensure that a successful build is indeed tagged.
This commit is contained in:
parent
20abf9a142
commit
fb9c6d9777
1 changed files with 3 additions and 0 deletions
|
|
@ -457,6 +457,9 @@ class TestBuilderPlugin(PluginTest):
|
|||
self.assertEqual(have, repos)
|
||||
|
||||
self.uploads.assert_upload("compose-request.json")
|
||||
build_id = res["koji"]["build"]
|
||||
# build should have been tagged
|
||||
self.assertIn(build_id, session.host.tags)
|
||||
|
||||
@httpretty.activate
|
||||
def test_compose_failure(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue