Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
minor tweaks to testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bengolder committed May 3, 2016
1 parent 6662080 commit 672087c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ serve:
./manage.py runserver

test:
coverage run --source='./project/','./intake/' ./manage.py test tests.integration
coverage run \
--source='./project/','./intake/' \
--omit='./project/settings/prod.py','./project/wsgi.py' \
./manage.py test tests.integration
coverage report

test.functional:
Expand Down
2 changes: 2 additions & 0 deletions intake/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

default_app_config = 'intake.apps.IntakeConfig'
1 change: 1 addition & 0 deletions tests/integration/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ class TestViews(TestCase):
def test_home_view(self):
response = self.client.get(reverse('intake-home'))
self.assertEqual(response.status_code, 200)
self.assertIn('Clear My Record', response.content.decode('utf-8'))

0 comments on commit 672087c

Please sign in to comment.