Skip to content

Commit

Permalink
Issue webcompat#1193. Add unittest for /issues/new route.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Taylor authored and deepthivenkat committed Oct 19, 2016
1 parent 7bf57ae commit acb74c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def test_home(self):
rv = self.app.get('/', environ_base=headers)
self.assertEqual(rv.status_code, 200)

def test_new_issue(self):
'''Test that /issues/new exists.'''
rv = self.app.get('/issues/new', environ_base=headers)
self.assertEqual(rv.status_code, 200)

def test_about(self):
'''Test that /about exists.'''
rv = self.app.get('/about')
Expand Down

0 comments on commit acb74c6

Please sign in to comment.