test/builder: ensure failed builds are not tagged
Since for a failed task, the build id is not returned, we check that no tags exist at all (for any build).
This commit is contained in:
parent
fb9c6d9777
commit
e9e23b63e5
1 changed files with 2 additions and 0 deletions
|
|
@ -489,6 +489,8 @@ class TestBuilderPlugin(PluginTest):
|
|||
handler.handler(*args)
|
||||
|
||||
self.uploads.assert_upload("compose-request.json")
|
||||
# build must not have been tagged
|
||||
self.assertEqual(len(session.host.tags), 0)
|
||||
|
||||
@httpretty.activate
|
||||
def test_cli_compose_success(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue