Skip to content

Commit 12b3fbb

Browse files
committed
POP-2289 shortened long lines in tests
1 parent d06952f commit 12b3fbb

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
@@ -63,9 +63,17 @@ def test_buy_project(self):
6363
with open('./tests/test_files/examples/project_buy.json', 'r') as buy_project_file:
6464
buy_project_data = json.load(buy_project_file)
6565
# Success response
66-
responses.add(responses.POST, '{}/sample/v1/projects/24/buy'.format(BASE_HOST), json={'status': {'message': 'success'}}, status=200)
66+
responses.add(
67+
responses.POST,
68+
'{}/sample/v1/projects/24/buy'.format(BASE_HOST),
69+
json={'status': {'message': 'success'}},
70+
status=200)
6771
# Response with error status
68-
responses.add(responses.POST, '{}/sample/v1/projects/24/buy'.format(BASE_HOST), json={'status': {'message': 'error'}}, status=200)
72+
responses.add(
73+
responses.POST,
74+
'{}/sample/v1/projects/24/buy'.format(BASE_HOST),
75+
json={'status': {'message': 'error'}},
76+
status=200)
6977
# Test success response
7078
self.api.buy_project(24, buy_project_data)
7179
self.assertEqual(len(responses.calls), 1)

0 commit comments

Comments
 (0)