Skip to content

Commit 10ea0dd

Browse files
committed
Fully test actions log message
1 parent d183d62 commit 10ea0dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_plugins.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,5 +252,8 @@ def test_logs_actions_annotations(self, annotated_logger_mock):
252252
action.first_step()
253253
action.second_step()
254254

255-
assert "notice:: Step 1 running!" in annotated_logger_mock.messages[0]
255+
assert (
256+
"notice:: Step 1 running! - {'action': 'example.actions:ActionsExample.first_step'}"
257+
in annotated_logger_mock.messages[0]
258+
)
256259
annotated_logger_mock.assert_logged("DEBUG", count=0)

0 commit comments

Comments
 (0)