diff --git a/tests/test_dispatcher/test_filters/test_state.py b/tests/test_dispatcher/test_filters/test_state.py index 1e68346e..28bd578f 100644 --- a/tests/test_dispatcher/test_filters/test_state.py +++ b/tests/test_dispatcher/test_filters/test_state.py @@ -68,7 +68,7 @@ class TestStateFilter: assert "SG:state" == SG.state assert State() == State() - assert not SG.state == 1 + assert SG.state != 1 states = {SG.state: "OK"} assert states.get(copy(SG.state)) == "OK"