mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 17:05:50 +01:00
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.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user