Skip to content

Commit

Permalink
Fix IP check
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Nov 17, 2023
1 parent 7f17c17 commit 1f24e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_web_ground_truth_from_clickhouse(db, datadir, netinfodb, tmp_path):
relevant_gts = web_ground_truth_db.lookup_by_web_obs(web_obs=web_obs)
assert len(relevant_gts) == 2
for gt in relevant_gts:
if gt.ip is not None:
if gt.ip:
assert gt.ip_asn == 47172
assert gt.ip_as_org_name
assert "greenhost" in gt.ip_as_org_name.lower()
Expand Down

0 comments on commit 1f24e63

Please sign in to comment.