Skip to content

Commit

Permalink
Fixed status view test
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jul 11, 2016
1 parent 0ddfede commit 07ada33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openprocurement/documentservice/tests/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
class SimpleTest(BaseWebTest):

def test_root(self):
response = self.app.get('/', status=404)
self.assertEqual(response.status, '404 Not Found')
self.assertEqual(response.content_type, 'text/plain')
response = self.app.get('/')
self.assertEqual(response.status, '204 No Content')
self.assertEqual(response.content_type, None)

def test_register_get(self):
response = self.app.get('/register', status=404)
Expand Down

0 comments on commit 07ada33

Please sign in to comment.