Skip to content

Commit

Permalink
Fixed draft to active
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed May 10, 2016
1 parent 9d03a8d commit a7ab7d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openprocurement/tender/limited/tests/tender.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,12 @@ def test_create_tender_draft(self):
tender = response.json['data']
self.assertEqual(tender['status'], 'active')

response = self.app.get('/tenders/{}'.format(tender['id']))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
tender = response.json['data']
self.assertEqual(tender['status'], 'active')

def test_create_tender(self):
response = self.app.get('/tenders')
self.assertEqual(response.status, '200 OK')
Expand Down

0 comments on commit a7ab7d9

Please sign in to comment.