Skip to content

Commit

Permalink
dataSigned validation requires this action
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksymiv committed Mar 23, 2016
1 parent 28fd5b4 commit defe587
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions openprocurement/tender/limited/tests/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,6 @@ def test_patch_tender_contract(self):
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['errors'][0]["description"], "Can't update contract in current (complete) tender status")

response = self.app.patch_json('/tenders/{}/contracts/{}?acc_token={}'.format(self.tender_id, self.contract_id, self.tender_token),
{"data": {"awardID": "894917dc8b1244b6aab9ab0ad8c8f48a"}}, status=422)
self.assertEqual(response.status, '422 Unprocessable Entity')
self.assertEqual(response.content_type, 'application/json')

# at next steps we test to patch contract in 'cancelled' tender status
response = self.app.post_json('/tenders?acc_token={}',
{"data": self.initial_data})
Expand Down

0 comments on commit defe587

Please sign in to comment.