浏览代码

bugfix: set childre: False in treeview json api for documents

Damien ACCORSI 10 年前
父节点
当前提交
38f1825d20
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      tracim/tracim/tests/library/test_serializers.py

+ 0 - 3
tracim/tracim/tests/library/test_serializers.py 查看文件

@@ -208,8 +208,6 @@ class TestSerializers(TestStandard):
208 208
 
209 209
         s2 = Context(CTX.DEFAULT).toDict(mylist, 'subitems', 'subitems_nb')
210 210
 
211
-        print('----------------->  ---> ', s2)
212
-        print('----------------->  ', s2.items)
213 211
         ok_('subitems' in s2.keys(), s2)
214 212
 
215 213
         ok_('name' in s2.subitems[0].keys())
@@ -246,7 +244,6 @@ class TestSerializers(TestStandard):
246 244
         eq_(True, res['children'])
247 245
 
248 246
         for curtype in ContentType.all():
249
-            print( 'iteration: ', curtype)
250 247
             if curtype not in (ContentType.Folder, ContentType.Comment):
251 248
                 item = Content()
252 249
                 item.type = curtype