A more reliable test, check against expected keys, rather than received
If we check against expected, if we got more than we expected, that's no problem :) This commit sponsored by Adan Bolte. Thank you!
This commit is contained in:
parent
cb718ba06f
commit
207f0f95a9
@ -370,8 +370,8 @@ def test_exif_extraction():
|
||||
'tag': 283,
|
||||
'values': [[300, 1]]}})
|
||||
|
||||
for k, v in useful.items():
|
||||
assert v == expected[k]
|
||||
for key in expected.keys():
|
||||
assert useful[key] == expected[key]
|
||||
|
||||
|
||||
def test_exif_image_orientation():
|
||||
|
Loading…
x
Reference in New Issue
Block a user