Dołączenie skryptu /api/toolbar/scriptlets do editor.html.
[redakcja.git] / apps / api / tests / __init__.py
index 72b4132..f28b3b2 100644 (file)
@@ -104,8 +104,8 @@ class SimpleTest(TestCase):
         self.assert_json_response({
             # u'latest_rev': u'f94a263812dbe46a3a13d5209bb119988d0078d5',
             u'documents': [
         self.assert_json_response({
             # u'latest_rev': u'f94a263812dbe46a3a13d5209bb119988d0078d5',
             u'documents': [
-                {u'url': u'/api/documents/sample', u'name': u'sample'},
-                {u'url': u'/api/documents/sample_pl', u'name': u'sample_pl'}
+                {u'url': u'/api/documents/sample', u'name': u'sample', u'parts': []},
+                {u'url': u'/api/documents/sample_pl', u'name': u'sample_pl', u'parts': []}
             ],
         })
 
             ],
         })