added tests

This commit is contained in:
nath@home 2015-07-21 15:32:43 +02:00
parent b349914d3a
commit c8d3a6f6fc
No known key found for this signature in database
GPG key ID: 6777F12E17534B8E
2 changed files with 8 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

View file

@ -53,6 +53,14 @@ class ArtTestMixin(object):
return self._jpg_data
_jpg_data = None
@property
def jpg_data_only_magic_bytes(self):
if not self._jpg_data:
with open(os.path.join(_common.RSRC, 'only-magic-bytes.jpg'), 'rb') as f:
self._jpg_data = f.read()
return self._jpg_data
_jpg_data = None
@property
def tiff_data(self):
if not self._jpg_data: