Skip to content

Commit 95cb151

Browse files
committed
POP-2280 shortened long lines in tests
1 parent 0db00b4 commit 95cb151

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/test_projects.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,17 @@ def test_update_project(self):
6464
update_project_data = json.load(update_project_file)
6565

6666
# Success response
67-
responses.add(responses.POST, '{}/sample/v1/projects/24'.format(BASE_HOST), json={'status': {'message': 'success'}}, status=200)
67+
responses.add(
68+
responses.POST,
69+
'{}/sample/v1/projects/24'.format(BASE_HOST),
70+
json={'status': {'message': 'success'}},
71+
status=200)
6872
# Error message included
69-
responses.add(responses.POST, '{}/sample/v1/projects/24'.format(BASE_HOST), json={'status': {'message': 'error'}}, status=200)
73+
responses.add(
74+
responses.POST,
75+
'{}/sample/v1/projects/24'.format(BASE_HOST),
76+
json={'status': {'message': 'error'}},
77+
status=200)
7078

7179
# Test successful response.
7280
self.api.update_project(24, update_project_data)

0 commit comments

Comments
 (0)