Stop looking for exact exif numbers
As the exif library adds data, this keeps breaking, which is silly. Maybe using This commit sponsored by Mikaël Cluseau. Thank you!
This commit is contained in:
@@ -41,10 +41,10 @@ def test_exif_extraction():
|
|||||||
gps = get_gps_data(result)
|
gps = get_gps_data(result)
|
||||||
|
|
||||||
# Do we have the result?
|
# Do we have the result?
|
||||||
assert len(result) == 55
|
assert len(result) >= 50
|
||||||
|
|
||||||
# Do we have clean data?
|
# Do we have clean data?
|
||||||
assert len(clean) == 53
|
assert len(clean) >= 50
|
||||||
|
|
||||||
# GPS data?
|
# GPS data?
|
||||||
assert gps == {}
|
assert gps == {}
|
||||||
|
|||||||
Reference in New Issue
Block a user