Skip to content

Commit

Permalink
remove unnecessary request
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksymiv committed May 6, 2016
1 parent 6c0d8c9 commit 303ec41
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,6 @@ def test_docs(self):

# Modifying contract
with open('docs/source/tutorial/contracts-patch.http', 'w') as self.app.file_obj:
response = self.app.patch_json('/contracts/{}?acc_token={}'.format(contract_id, contract_token),
{"data": {"title": "New Title"}})
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.json['data']['title'], "New Title")

custom_period_start_date = get_now().isoformat()
custom_period_end_date = (get_now() + timedelta(days=30)).isoformat()
response = self.app.patch_json('/contracts/{}?acc_token={}'.format(contract_id, contract_token),
Expand Down

0 comments on commit 303ec41

Please sign in to comment.