diff --git a/src/lists/tests.py b/src/lists/tests.py index 094e1dc..7314889 100644 --- a/src/lists/tests.py +++ b/src/lists/tests.py @@ -9,10 +9,6 @@ from lists.models import Item class HomePageTest(TestCase): - def test_root_url_resolves_to_home_page_view(self): - found = resolve('/') - self.assertEqual(found.func, home_page) - def test_uses_home_template(self): response = self.client.get('/') self.assertTemplateUsed(response, 'home.html') @@ -34,15 +30,6 @@ class HomePageTest(TestCase): self.client.get('/') self.assertEqual(Item.objects.count(), 0) - def test_displays_all_list_items(self): - Item.objects.create(text="itemey 1") - Item.objects.create(text="itemey 2") - - response = self.client.get('/') - - self.assertIn('itemey 1', response.content.decode()) - self.assertIn('itemey 2', response.content.decode()) - class ListViewTest(TestCase): def test_displays_all_items(self):