Dodanie metody Editor.XMLModel.update.
[redakcja.git] / apps / api / tests / __init__.py
index acf92f5..f28b3b2 100644 (file)
@@ -19,6 +19,7 @@ def temprepo(name):
 
     def decorator(func):
 
 
     def decorator(func):
 
+
         @wraps(func)
         def decorated(self, *args, **kwargs):
             clean = False
         @wraps(func)
         def decorated(self, *args, **kwargs):
             clean = False
@@ -103,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': []}
             ],
         })
 
             ],
         })