Skip to content

Commit

Permalink
test: testing ip status in qa tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaranski committed Jan 16, 2025
1 parent af4e60e commit 0f27891
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/qa/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@ def test_status_connected(tech, proto, obfuscated):
assert server_info.hostname in status_info["hostname"]
assert server_info.name in status_info["server"]

assert socket.gethostbyname(server_info.hostname) in status_info["ip"]
external_ip = network.get_external_device_ip()

assert external_ip in status_info["ip"]

assert server_info.country in status_info["country"]
assert server_info.city in status_info["city"]
Expand Down

0 comments on commit 0f27891

Please sign in to comment.