chore: typehint tests

This commit is contained in:
aclist committed 2026-11-12 05:10:02 +09:00
1 parent a5374d1f1a
commit e29433b388
23 files changed
+170 -93

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ from dzgui.views.components.entry import validate_ip_truthy
("192.168.1.101:27016", True),
],
)
def test_ip_entry(ip) -> None:
def test_ip_entry(ip: tuple[str, bool]) -> None:
string, state = ip
assert validate_ip_truthy(string) is state