Add unit test for #5524
authorAndrew Browning <ayleph@thisshitistemp.com>
Wed, 20 Sep 2017 05:02:10 +0000 (01:02 -0400)
committerAndrew Browning <ayleph@thisshitistemp.com>
Wed, 20 Sep 2017 05:02:10 +0000 (01:02 -0400)
commit66dbc22e73e1a8002c524eb4829bdc4320d5c2ee
treeeed488a8d222f4296a14c3daa4b37f538c36d9aa
parent07c535c876b22609ae0fdd9753f27296793cb1d4
Add unit test for #5524

Add a unit test to verify that the change introduced in 07c535c no
longer resulst in a zero divide error when gps data contains no divisor.

This commit includes a test image created by Andrew Browning. Andrew
Browning dedicates this image to the public domain under the CC0 license.
mediagoblin/tests/resources.py
mediagoblin/tests/test_exif.py
mediagoblin/tests/test_exif/bad-gps.jpg [new file with mode: 0644]