Skip to content

Commit f17cd4d

Browse files
committed
Fixed linting error
1 parent 0644264 commit f17cd4d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/test_projects.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,18 @@ def test_create_project(self):
6363
@responses.activate
6464
def test_close_project(self):
6565
# Tests closing a project.
66-
responses.add(responses.POST, '{}/sample/v1/projects/24/close'.format(BASE_HOST), json={'status': {'message': 'success'}}, status=200)
67-
responses.add(responses.POST, '{}/sample/v1/projects/24/close'.format(BASE_HOST), json={'status': {'message': 'error'}}, status=200)
66+
responses.add(
67+
responses.POST,
68+
'{}/sample/v1/projects/24/close'.format(BASE_HOST),
69+
json={'status': {'message': 'success'}},
70+
status=200
71+
)
72+
responses.add(
73+
responses.POST,
74+
'{}/sample/v1/projects/24/close'.format(BASE_HOST),
75+
json={'status': {'message': 'error'}},
76+
status=200
77+
)
6878
self.api.close_project(24)
6979
self.assertEqual(len(responses.calls), 1)
7080
with self.assertRaises(DemandAPIError):

0 commit comments

Comments
 (0)