Add comment

This commit is contained in:
jobrauer
2020-02-25 07:50:50 +01:00
parent d6aefc8d55
commit 3fa8e5a610

View File

@@ -38,5 +38,7 @@ def test_buildrequire_invalid_module(pkg_util, scenario, repo, koji):
print("Canceling module-build {}...".format(build.id))
pkg_util.cancel(build)
except ErrorReturnCode:
# Do nothing, this is just a clean-up of accidentally started builds
# in case that the test-case fails
pass
assert expected_error in excinfo.value.stderr.decode("utf-8")