Bastien Sevajol (Algoo) 9 лет назад
Родитель
Сommit
26a2ecd801
1 измененных файлов: 5 добавлений и 1 удалений
  1. 5 1
      tracim/tracim/tests/library/test_serializers.py

+ 5 - 1
tracim/tracim/tests/library/test_serializers.py Просмотреть файл

232
         eq_(True, res['children'])
232
         eq_(True, res['children'])
233
 
233
 
234
         for curtype in ContentType.all():
234
         for curtype in ContentType.all():
235
-            if curtype not in (ContentType.Folder, ContentType.Comment):
235
+            if curtype not in (
236
+                    ContentType.Folder,
237
+                    ContentType.Comment,
238
+                    ContentType.Event
239
+            ):
236
                 item = Content()
240
                 item = Content()
237
                 item.type = curtype
241
                 item.type = curtype
238
                 item.label = 'item'
242
                 item.label = 'item'