Guénaël Muller 6 years ago
parent
commit
7e879db7b4
1 changed files with 5 additions and 3 deletions
  1. 5 3
      tracim/tests/functional/test_contents.py

+ 5 - 3
tracim/tests/functional/test_contents.py View File

78
             )
78
             )
79
         )
79
         )
80
         params = {
80
         params = {
81
-            'label' : 'My New label',
81
+            'label': 'My New label',
82
             'raw_content': '<p> Le nouveau contenu </p>',
82
             'raw_content': '<p> Le nouveau contenu </p>',
83
         }
83
         }
84
         res = self.testapp.put_json(
84
         res = self.testapp.put_json(
136
         assert content['last_modifier'] == content['author']
136
         assert content['last_modifier'] == content['author']
137
         assert content['raw_content'] == '<p> Le nouveau contenu </p>'
137
         assert content['raw_content'] == '<p> Le nouveau contenu </p>'
138
 
138
 
139
-    def test_api__get_html_document_revisions__ok_200__nominal_case(self) -> None:
139
+    def test_api__get_html_document_revisions__ok_200__nominal_case(
140
+            self
141
+    ) -> None:
140
         """
142
         """
141
         Get one html document of a content
143
         Get one html document of a content
142
         """
144
         """
215
         content = res.json_body
217
         content = res.json_body
216
         assert content['content_type'] == 'page'
218
         assert content['content_type'] == 'page'
217
         assert content['content_id'] == 6
219
         assert content['content_id'] == 6
218
-        assert content['status'] == 'closed-deprecated'
220
+        assert content['status'] == 'closed-deprecated'