Skip to content

Commit

Permalink
Back to 100% Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
super3 committed Sep 9, 2015
1 parent 84882c4 commit 1cabd83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_App.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@ def test_fail(self):
rv = self.app.get('/api/register/{0}'.format(addresses["eta"]))
self.assertEqual(rv.status_code, 401)

rv = self.app.get('/api/ping/{0}'.format(addresses["eta"]))
self.assertEqual(rv.status_code, 401)

rv = self.app.get('/api/height/{0}/10'.format(addresses["eta"]))
self.assertEqual(rv.status_code, 401)


class MiscAppTest(TemplateTest):

Expand Down

0 comments on commit 1cabd83

Please sign in to comment.