Skip to content

Commit

Permalink
tests_basic: Cover /favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed May 9, 2018
1 parent c5ede5e commit 5bf70c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cabot/cabotapp/tests/tests_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,10 @@ def test_public_page_with_public_service_with_url(self):
expected = '<a href="http://example.com/" title="http://example.com/" target="_blank">Public service with url</a>'
self.assertIn(expected, response.content)

def test_favicon_ico(self):
response = self.client.get('/favicon.ico')
self.assertEqual(response.status_code, 200)


class TestAPI(LocalTestCase):
def setUp(self):
Expand Down

0 comments on commit 5bf70c9

Please sign in to comment.