aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_ipinfo.py
diff options
context:
space:
mode:
authorstuppie2026-09-18 11:34:27 -0600
committerstuppie2026-09-18 11:34:27 -0600
commit1a98418317c115b92739639cf0b837bd974fc5d6 (patch)
treeb664c69fc31d0ba4bc87ca81f83a8bb3c3449497 /tests/managers/thl/test_ipinfo.py
parent203066cb5228ce3bcadb940b9aca1b6a36dceb4e (diff)
downloadgeneralresearch-1a98418317c115b92739639cf0b837bd974fc5d6.tar.gz
generalresearch-1a98418317c115b92739639cf0b837bd974fc5d6.zip
fix more tests
Diffstat (limited to 'tests/managers/thl/test_ipinfo.py')
-rw-r--r--tests/managers/thl/test_ipinfo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/managers/thl/test_ipinfo.py b/tests/managers/thl/test_ipinfo.py
index f39d50e..d84cbf7 100644
--- a/tests/managers/thl/test_ipinfo.py
+++ b/tests/managers/thl/test_ipinfo.py
@@ -3,7 +3,7 @@ from generalresearch.models.thl.ipinfo import GeoIPInformation
class TestGeoIpInfoManager:
- def test_get(self, geoipinfo_manager: GeoIpInfoManager):
+ def test_get(self, geoip_info_manager: GeoIpInfoManager):
result = geoip_info_manager.get("8.8.8.8")
assert result == GeoIPInformation(
@@ -16,7 +16,7 @@ class TestGeoIpInfoManager:
)
geoip_info_manager.grip_mmdb.lookup.assert_called_once_with("8.8.8.8")
- def test_get_multi(self, geoipinfo_manager: GeoIpInfoManager):
+ def test_get_multi(self, geoip_info_manager: GeoIpInfoManager):
result = geoip_info_manager.get_multi(["8.8.8.8", "1.1.1.1", "8.8.8.8"])
assert result == {
@@ -42,6 +42,6 @@ class TestGeoIpInfoManager:
call.args[0] for call in geoip_info_manager.grip_mmdb.lookup.call_args_list
} == {"8.8.8.8", "1.1.1.1"}
- def test_get_multi_empty(self, geoipinfo_manager: GeoIpInfoManager):
+ def test_get_multi_empty(self, geoip_info_manager: GeoIpInfoManager):
assert geoip_info_manager.get_multi([]) == {}
geoip_info_manager.grip_mmdb.lookup.assert_not_called()