diff --git a/tests/test_views/test_general.py b/tests/test_views/test_general.py index a0a87a86282a62c04d2dd6898dc84c32d3b426cb..d45728488fb26fd990494b0b174383030363a3a9 100644 --- a/tests/test_views/test_general.py +++ b/tests/test_views/test_general.py @@ -13,9 +13,20 @@ from django_expanded_test_cases import IntegrationTestCase class DumpDieGeneralTestCase(IntegrationTestCase): """Verify handling of dumped "simple" types.""" + @override_settings(DEBUG=True) def test_view_returns_normal_response_when_no_dumps_used(self): """Verify view returns normal response when no dumps used""" - pass + url = "django_dump_die:index" + + self.assertGetResponse( + url, + expected_title="Django DumpDie Examples", + expected_header="Django DumpDie Example Index Page", + expected_content=[ + "<p>The following pages provide example output when using the Django DumpDie package.</p>" + ], + expected_not_content=["<div><h1>Django DumpDie</h1></div>"], + ) def test_dump_without_a_dd_still_shows_dump_view(self): """Verify that only using dump and no dd still shows the dump view."""