Skip to content

Commit 868dd9f

Browse files
committed
Fix tests
1 parent 2aacdd6 commit 868dd9f

File tree

6 files changed

+2
-4
lines changed

6 files changed

+2
-4
lines changed

tests/__init__.py

100644100755
File mode changed.

tests/controllers/__init__.py

100644100755
File mode changed.

tests/controllers/controller_test_base.py

100644100755
File mode changed.

tests/controllers/test_api_controller.py

100644100755
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
tests.controllers.test_api_controller
55
6-
6+
77
"""
88

99
import jsonpickle
@@ -64,8 +64,8 @@ def test_retrieve_1(self):
6464
expected_headers['content-type'] = None
6565

6666
self.assertTrue(TestHelper.match_headers(expected_headers, self.response_catcher.response.headers))
67-
6867

68+
6969
# Test whether the captured response is as we expected
7070
self.assertIsNotNone(result)
7171
expected_body = APIHelper.json_deserialize((
@@ -79,5 +79,3 @@ def test_retrieve_1(self):
7979
))
8080
received_body = APIHelper.json_deserialize(self.response_catcher.response.raw_body)
8181
self.assertTrue(TestHelper.match_body(expected_body, received_body, check_values = True))
82-
83-

tests/http_response_catcher.py

100644100755
File mode changed.

tests/test_helper.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)