瀏覽代碼

Fix tests for Event

Bastien Sevajol (Algoo) 8 年之前
父節點
當前提交
26a2ecd801
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      tracim/tracim/tests/library/test_serializers.py

+ 5 - 1
tracim/tracim/tests/library/test_serializers.py 查看文件

@@ -232,7 +232,11 @@ class TestSerializers(TestStandard):
232 232
         eq_(True, res['children'])
233 233
 
234 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 240
                 item = Content()
237 241
                 item.type = curtype
238 242
                 item.label = 'item'