Browse Source

Fix tests for Event

Bastien Sevajol (Algoo) 8 years ago
parent
commit
26a2ecd801
1 changed files with 5 additions and 1 deletions
  1. 5 1
      tracim/tracim/tests/library/test_serializers.py

+ 5 - 1
tracim/tracim/tests/library/test_serializers.py View File

@@ -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'