diff options
Diffstat (limited to 'tests/managers/thl/test_ipinfo.py')
| -rw-r--r-- | tests/managers/thl/test_ipinfo.py | 6 |
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() |
