From e71452c68f919706dba589432c85f5916234f560 Mon Sep 17 00:00:00 2001 From: Krzysztof Klimonda Date: Wed, 27 Mar 2013 21:07:22 +0100 Subject: [PATCH] Use a relative path for the test image It's part of the issue #20 (weird path on Windows). Django File class used a full file path which resulted in path like C:\Example\pinry\static\C:\... which is obviously invalid. --- pinry/core/tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinry/core/tests/helpers.py b/pinry/core/tests/helpers.py index f84b9f1..069c504 100644 --- a/pinry/core/tests/helpers.py +++ b/pinry/core/tests/helpers.py @@ -11,7 +11,7 @@ from ..models import Pin, Image from ...users.models import User -TEST_IMAGE_PATH = settings.SITE_ROOT + 'logo.png' +TEST_IMAGE_PATH = 'logo.png' class UserFactory(factory.Factory):