Skip to content

Commit 697aafb

Browse files
committed
fix: add test where current_map is none
1 parent 3ed1de6 commit 697aafb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_containers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ def test_current_map() -> None:
275275
s.map_status = 11
276276
assert s.current_map == 2
277277

278+
s.map_status = None
279+
assert not s.current_map
280+
278281

279282
def test_dnd_timer():
280283
dnd = DnDTimer.from_dict(DND_TIMER)

0 commit comments

Comments
 (0)