X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/49e2be0521e11928d5f00378907e478d1bd703a4..e7ef95e5867bba96cb445fef0d8932ab5ed6c938:/apps/api/tests.py?ds=sidebyside diff --git a/apps/api/tests.py b/apps/api/tests.py index 74417acb9..5a981a26a 100644 --- a/apps/api/tests.py +++ b/apps/api/tests.py @@ -10,9 +10,10 @@ from api.helpers import timestamp from catalogue.models import Book, Tag from picture.tests.utils import RequestFactory from picture.forms import PictureImportForm -from picture.models import Picture +from picture.models import Picture, picture_storage import picture.tests from django.core.files.uploadedfile import SimpleUploadedFile + from os import path @@ -160,3 +161,4 @@ class PictureTests(ApiTest): import_form.save() pic = Picture.objects.get(slug=slug) +