use != instead of 'not x == y' in tests

This commit is contained in:
darksidecat 2022-06-26 18:24:17 +03:00
parent 36fbfc06d5
commit 556f4e06f8

View file

@ -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"