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
This commit is contained in:
Keith Johnson
2013-09-22 15:23:11 -04:00
parent 00d974cedb
commit 236e6e9a33

View File

@@ -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