mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
change: update time range assertions
This commit is contained in:
1 parent
32b8c5cbc5
commit
e254821105
3 files changed
+7
-5
No files matched your search
+3
-1
@@ -1,7 +1,9 @@
|
||||
import re
|
||||
|
||||
from dzgui.model.proxy_model import DAY_REG, NIGHT_REG
|
||||
import pytest
|
||||
|
||||
pytestmark = pytest.mark.FOO
|
||||
|
||||
def iterate(h: str, r: str) -> None:
|
||||
for m in range(60):
|
||||
@@ -18,6 +20,6 @@ def test_day() -> None:
|
||||
|
||||
def test_night() -> None:
|
||||
for h in range(24):
|
||||
if 6 < h < 17:
|
||||
if 5 < h < 18:
|
||||
continue
|
||||
iterate(h, NIGHT_REG)
|
||||
Reference in new issue
Block a user