Fixed some a stale location and whitespace in GeoIP tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
315ae1ce6e
commit
1ee4274ff1
|
@ -87,7 +87,7 @@ class GeoIPTest(unittest.TestCase):
|
||||||
self.assertEqual(713, d['area_code'])
|
self.assertEqual(713, d['area_code'])
|
||||||
geom = g.geos(query)
|
geom = g.geos(query)
|
||||||
self.failIf(not isinstance(geom, GEOSGeometry))
|
self.failIf(not isinstance(geom, GEOSGeometry))
|
||||||
lon, lat = (-95.4152, 29.7755)
|
lon, lat = (-95.3670, 29.7523)
|
||||||
lat_lon = g.lat_lon(query)
|
lat_lon = g.lat_lon(query)
|
||||||
lat_lon = (lat_lon[1], lat_lon[0])
|
lat_lon = (lat_lon[1], lat_lon[0])
|
||||||
for tup in (geom.tuple, g.coords(query), g.lon_lat(query), lat_lon):
|
for tup in (geom.tuple, g.coords(query), g.lon_lat(query), lat_lon):
|
||||||
|
|
Loading…
Reference in New Issue