Browse Source

Fix testcase for GPS info

GPS coordinates for the sample photo were incorrect in the test case. Found the correct coordinates from: http://regex.info/exif.cgi
pull/37/head
Keith Johnson 13 years ago
parent
commit
236e6e9a33
  1. 4
      tests/test_image.py

4
tests/test_image.py

@ -82,8 +82,8 @@ def test_exif_gps(tmpdir):
raw, simple = get_exif_tags(dst_file)
assert 'gps' in simple
lat = 35.266666
lon = -117.216666
lat = 34.029167
lon = -116.144167
assert abs(simple['gps']['lat'] - lat) < 0.0001
assert abs(simple['gps']['lon'] - lon) < 0.0001

Loading…
Cancel
Save