Skip to content

Commit a121e75

Browse files
authored
[fix] Fix failed_msg arg of assert_conversion function (#9)
Signed-off-by: Nikolay Mitrofanov <nikolay.mitrofanov@flant.com>
1 parent b07ff1f commit a121e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deckhouse/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def assert_common_resource_fields(t: unittest.TestCase, obj: dict, api_version:
9090
t.assertEqual(obj["metadata"]["namespace"], namespace)
9191

9292
# res: dict | typing.List[dict] | typing.Callable[[unittest.TestCase, typing.List[dict]], None]
93-
def assert_conversion(t: unittest.TestCase, o: Output, res: typing.Union[dict, typing.List[dict], typing.Callable[[unittest.TestCase, typing.List[dict]], None]], failed_msg: str):
93+
def assert_conversion(t: unittest.TestCase, o: Output, res: typing.Union[dict, typing.List[dict], typing.Callable[[unittest.TestCase, typing.List[dict]], None]], failed_msg: typing.Union[str, None]):
9494
"""
9595
Assert result of conversion webhook
9696

0 commit comments

Comments
 (0)