Skip to content

Commit fce2e11

Browse files
committed
fix tests
1 parent d7987b2 commit fce2e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_decorator_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def func_wrapup():
179179
)
180180
assert "SyntaxError: invalid syntax (file.hello.func3 @state_active(), line 1)" in caplog.text
181181
assert (
182-
"func4 defined in file.hello: needs at least one trigger decorator (ie: event_trigger, state_trigger, time_trigger)"
182+
"func4 defined in file.hello: needs at least one trigger decorator (ie: event_trigger, mqtt_trigger, state_trigger, time_trigger)"
183183
in caplog.text
184184
)
185185
assert (

0 commit comments

Comments
 (0)