Skip to content

Commit a19115f

Browse files
committed
indentation fix
1 parent 5e322bc commit a19115f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dynatademand/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ def set_quotacell_status(self, project_id, line_item_id, quota_cell_id, action):
366366
response_data = self._api_post('/projects/{}/lineItems/{}/quotaCells/{}/{}'.format(
367367
project_id, line_item_id, quota_cell_id, action), {})
368368
if response_data.get('status').get('message') != 'success':
369-
raise DemandAPIError(
369+
raise DemandAPIError(
370370
"Could not {} quotacell. Demand API responded with: {}".format(
371-
action,response_data
371+
action, response_data
372372
)
373373
)
374374
return response_data

tests/test_line_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def test_set_quotacell_status(self):
193193
# Test successful response for launch quotacell.
194194
self.api.set_quotacell_status(24, 180, 1, "launch")
195195
self.assertEqual(len(responses.calls), 1)
196-
196+
197197
# Test error response for launch quotacell.
198198
with self.assertRaises(DemandAPIError):
199199
self.api.set_quotacell_status(24, 180, 1, "launch")

0 commit comments

Comments
 (0)