Merge branch 'master' of github.com:fnp/wolnelektury
[wolnelektury.git] / apps / api / tests.py
index 74417ac..5a981a2 100644 (file)
@@ -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 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
 import picture.tests
 from django.core.files.uploadedfile import SimpleUploadedFile
+
  
 from os import path
 
  
 from os import path
 
@@ -160,3 +161,4 @@ class PictureTests(ApiTest):
             import_form.save()
 
         pic = Picture.objects.get(slug=slug)
             import_form.save()
 
         pic = Picture.objects.get(slug=slug)
+