Stop looking for exact exif numbers
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Feb 2015 21:07:51 +0000 (15:07 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Feb 2015 21:07:51 +0000 (15:07 -0600)
As the exif library adds data, this keeps breaking, which is silly.  Maybe using

This commit sponsored by MikaĆ«l Cluseau.  Thank you!

mediagoblin/tests/test_exif.py

index ccc91d030de3200ee3234bbdd9bc6fad2f6e450f..c693ed9b6b304dfe02b010f3700861098d6e3234 100644 (file)
@@ -41,10 +41,10 @@ def test_exif_extraction():
     gps = get_gps_data(result)
 
     # Do we have the result?
-    assert len(result) == 55
+    assert len(result) >= 50
 
     # Do we have clean data?
-    assert len(clean) == 53
+    assert len(clean) >= 50
 
     # GPS data?
     assert gps == {}