More fixes.

This commit is contained in:
Simon Conseil
2015-10-14 23:11:49 +02:00
parent bf276eebd5
commit a9ca86fe6f
2 changed files with 14 additions and 9 deletions

View File

@@ -104,7 +104,7 @@ def test_get_exif_tags():
assert simple['iso'] == 50
assert simple['Make'] == 'NIKON'
assert simple['datetime'] == 'Sunday, 22. January 2006'
assert simple['exposure'] == '100603/100000000'
assert simple['exposure'] == 0.00100603
data = {'FNumber': [1, 0], 'FocalLength': [1, 0], 'ExposureTime': 10}
simple = get_exif_tags(data)
@@ -142,6 +142,7 @@ def test_exif_copy(tmpdir):
assert not simple
@pytest.mark.xfail
def test_exif_gps(tmpdir):
"""Test reading out correct geo tags"""