@@ -253,25 +253,15 @@ def test_city_ok(self):
253253 self .assertEqual (type (city ), geoip2 .models .City ,
254254 'return value of client.city' )
255255
256- def test_city_isp_org_ok (self ):
257- httpretty .register_uri (httpretty .GET ,
258- self .base_uri + 'city/1.2.3.4' ,
259- body = json .dumps (self .country ),
260- status = 200 ,
261- content_type = self ._content_type ('country' ))
262- city_isp_org = self .client .city_isp_org ('1.2.3.4' )
263- self .assertEqual (type (city_isp_org ), geoip2 .models .City ,
264- 'return value of client.city_isp_org' )
265-
266256 def test_insights_ok (self ):
267257 httpretty .register_uri (httpretty .GET ,
268258 self .base_uri + 'insights/1.2.3.4' ,
269259 body = json .dumps (self .country ),
270260 status = 200 ,
271261 content_type = self ._content_type ('country' ))
272- omni = self .client .insights ('1.2.3.4' )
273- self .assertEqual (type (omni ), geoip2 .models .Insights ,
274- 'return value of client.omni ' )
262+ insights = self .client .insights ('1.2.3.4' )
263+ self .assertEqual (type (insights ), geoip2 .models .Insights ,
264+ 'return value of client.insights ' )
275265
276266 def test_insights_ok (self ):
277267 httpretty .register_uri (httpretty .GET ,
0 commit comments