Browse Source

fix content_types list test

Guénaël Muller 6 years ago
parent
commit
e5af13db39
1 changed files with 2 additions and 0 deletions
  1. 2 0
      backend/tracim_backend/tests/functional/test_system.py

+ 2 - 0
backend/tracim_backend/tests/functional/test_system.py View File

123
         assert content_type['creation_label'] == 'Create a Markdown document'
123
         assert content_type['creation_label'] == 'Create a Markdown document'
124
         assert 'available_statuses' in content_type
124
         assert 'available_statuses' in content_type
125
         assert len(content_type['available_statuses']) == 4
125
         assert len(content_type['available_statuses']) == 4
126
+
127
+        content_type = res[4]
126
         assert content_type['slug'] == 'html-document'
128
         assert content_type['slug'] == 'html-document'
127
         assert content_type['fa_icon'] == 'file-text-o'
129
         assert content_type['fa_icon'] == 'file-text-o'
128
         assert content_type['hexcolor'] == '#3f52e3'
130
         assert content_type['hexcolor'] == '#3f52e3'