We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f1de1 commit 1ee3d51Copy full SHA for 1ee3d51
tests/unit/jbi/whiteboard_actions/test_default.py
@@ -19,4 +19,7 @@ def test_default_returns_callable_without_data():
19
def test_default_returns_callable_with_data():
20
callable_object = default.init(whiteboard_tag="", jira_project_key="")
21
assert callable_object
22
- assert callable_object(payload={}, context={})
+ try:
23
+ callable_object(payload={}, context={})
24
+ except Exception as exception: # pylint: disable=broad-except
25
+ assert False, f"`default` raised an exception {exception}"
0 commit comments