From bb4ad16431f055dc93d902b899c2725df80ea681 Mon Sep 17 00:00:00 2001 From: Andrew Ferrier Date: Thu, 18 Dec 2014 18:27:19 +0000 Subject: [PATCH] Move test images into tests/ --- tests/BaseTestClasses.py | 4 ++-- basi2c16.png => tests/basi2c16.png | Bin jpeg444.jpg => tests/jpeg444.jpg | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename basi2c16.png => tests/basi2c16.png (100%) rename jpeg444.jpg => tests/jpeg444.jpg (100%) diff --git a/tests/BaseTestClasses.py b/tests/BaseTestClasses.py index 27f890f..7445d57 100644 --- a/tests/BaseTestClasses.py +++ b/tests/BaseTestClasses.py @@ -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) diff --git a/basi2c16.png b/tests/basi2c16.png similarity index 100% rename from basi2c16.png rename to tests/basi2c16.png diff --git a/jpeg444.jpg b/tests/jpeg444.jpg similarity index 100% rename from jpeg444.jpg rename to tests/jpeg444.jpg