Browse Source

Fix tests for Event

Bastien Sevajol (Algoo) 9 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
         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'