diff options
author | Andrew Browning <ayleph@thisshitistemp.com> | 2017-09-20 01:02:10 -0400 |
---|---|---|
committer | Andrew Browning <ayleph@thisshitistemp.com> | 2017-09-20 01:02:10 -0400 |
commit | 66dbc22e73e1a8002c524eb4829bdc4320d5c2ee (patch) | |
tree | eed488a8d222f4296a14c3daa4b37f538c36d9aa /mediagoblin/tests/resources.py | |
parent | 07c535c876b22609ae0fdd9753f27296793cb1d4 (diff) | |
download | mediagoblin-66dbc22e73e1a8002c524eb4829bdc4320d5c2ee.tar.lz mediagoblin-66dbc22e73e1a8002c524eb4829bdc4320d5c2ee.tar.xz mediagoblin-66dbc22e73e1a8002c524eb4829bdc4320d5c2ee.zip |
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.
Diffstat (limited to 'mediagoblin/tests/resources.py')
-rw-r--r-- | mediagoblin/tests/resources.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/tests/resources.py b/mediagoblin/tests/resources.py index 480f6d9a..38406d62 100644 --- a/mediagoblin/tests/resources.py +++ b/mediagoblin/tests/resources.py @@ -41,3 +41,4 @@ GOOD_JPG = resource_exif('good.jpg') EMPTY_JPG = resource_exif('empty.jpg') BAD_JPG = resource_exif('bad.jpg') GPS_JPG = resource_exif('has-gps.jpg') +BAD_GPS_JPG = resource_exif('bad-gps.jpg') |