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,6 +123,8 @@ class TestContentsTypesEndpoint(FunctionalTest):
123 123
         assert content_type['creation_label'] == 'Create a Markdown document'
124 124
         assert 'available_statuses' in content_type
125 125
         assert len(content_type['available_statuses']) == 4
126
+
127
+        content_type = res[4]
126 128
         assert content_type['slug'] == 'html-document'
127 129
         assert content_type['fa_icon'] == 'file-text-o'
128 130
         assert content_type['hexcolor'] == '#3f52e3'