def METHOD_NAME(self, geoip_data, geoip_db):
    london = geoip_data["London2"]
    result = geoip_db.lookup(london["ip"])
    for name in ("latitude", "longitude", "radius", "region_radius"):
        assert round(london[name], 7) == result[name]
    for name in ("region_code", "region_name", "city", "score"):
        assert london[name] == result[name]