mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
use != instead of 'not x == y' in tests
This commit is contained in:
parent
36fbfc06d5
commit
556f4e06f8
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class TestStateFilter:
|
||||||
assert "SG:state" == SG.state
|
assert "SG:state" == SG.state
|
||||||
|
|
||||||
assert State() == State()
|
assert State() == State()
|
||||||
assert not SG.state == 1
|
assert SG.state != 1
|
||||||
|
|
||||||
states = {SG.state: "OK"}
|
states = {SG.state: "OK"}
|
||||||
assert states.get(copy(SG.state)) == "OK"
|
assert states.get(copy(SG.state)) == "OK"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue