Skip to content

Commit a23f7a9

Browse files
committed
add relay/service privacy field test case.
1 parent 0b351c6 commit a23f7a9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/handler_async_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ async def test_get_details():
6565
assert privacy["proxy"] == False
6666
assert privacy["tor"] == False
6767
assert privacy["hosting"] == False
68+
assert privacy["relay"] == False
69+
assert "service" not in privacy
6870

6971
abuse = details.abuse
7072
assert (

tests/handler_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def test_get_details():
6262
assert privacy["proxy"] == False
6363
assert privacy["tor"] == False
6464
assert privacy["hosting"] == False
65+
assert privacy["relay"] == False
66+
assert "service" not in privacy
6567

6668
abuse = details.abuse
6769
assert (

0 commit comments

Comments
 (0)