Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Commit

Permalink
Move test images into tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Ferrier committed Dec 18, 2014
1 parent 6c88812 commit bb4ad16
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/BaseTestClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ def attachPDF(self, string, filePrefix="email2pdf_unittest_file", fileSuffix="pd

def attachImage(self, content_id=None, jpeg=True, content_type=None, inline=False):
if jpeg:
realFilename = 'jpeg444.jpg'
realFilename = 'tests/jpeg444.jpg'
fileSuffix = 'jpg'
else:
realFilename = 'basi2c16.png'
realFilename = 'tests/basi2c16.png'
fileSuffix = 'png'

unused_f_handle, file_name = tempfile.mkstemp(prefix="email2pdf_unittest_image", suffix="." + fileSuffix)
Expand Down
File renamed without changes
File renamed without changes

0 comments on commit bb4ad16

Please sign in to comment.