Skip to content

Commit 5603ab5

Browse files
committed
ensure batch had these fields
1 parent 138e573 commit 5603ab5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/handler_async_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ async def test_get_batch_details(n):
9696
assert ip in details
9797
d = details[ip]
9898
assert d["ip"] == ip
99+
assert d["country"] == "US"
100+
assert d["country_name"] == "United States"
99101
if token:
100102
assert "asn" in d
101103
assert "company" in d

0 commit comments

Comments
 (0)