fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Librarian in requirements.
[wolnelektury.git]
/
src
/
api
/
tests
/
tests.py
diff --git
a/src/api/tests/tests.py
b/src/api/tests/tests.py
index
3b4d4c5
..
b3cc54f
100644
(file)
--- a/
src/api/tests/tests.py
+++ b/
src/api/tests/tests.py
@@
-17,7
+17,7
@@
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase
from django.test.utils import override_settings
from mock import patch
from django.test import TestCase
from django.test.utils import override_settings
from mock import patch
-from api.
piston.
models import Consumer, Token
+from api.models import Consumer, Token
from catalogue.models import Book, Tag
from picture.forms import PictureImportForm
from catalogue.models import Book, Tag
from picture.forms import PictureImportForm
@@
-230,7
+230,7
@@
class BooksTests(ApiTest):
class BlogTests(ApiTest):
def test_get(self):
class BlogTests(ApiTest):
def test_get(self):
- self.assertEqual(self.load_json('/api/blog
/
'), [])
+ self.assertEqual(self.load_json('/api/blog'), [])
class PreviewTests(ApiTest):
class PreviewTests(ApiTest):