deleted redundant assertions from apps.dashboard.tests; removed redundant table code from home.html now that list.html includes it; updated FTs to accomodate the title change to "Dashboard" in home.html

This commit is contained in:
Disco DeDisco
2026-01-02 20:01:23 -05:00
parent 61c2c1bcb3
commit 87e40d977c
3 changed files with 4 additions and 11 deletions

View File

@@ -8,7 +8,6 @@ class HomePageTest(TestCase):
def test_renders_input_form(self):
response = self.client.get('/')
self.assertContains(response, '<form method="POST"')
self.assertContains(response, '<form method="POST" action="/">')
self.assertContains(response, '<input name="item_text"')
@@ -51,7 +50,6 @@ class DashViewTest(TestCase):
def test_renders_input_form(self):
response = self.client.get('/apps/dashboard/the-only-list-in-the-world/')
self.assertContains(response, '<form method="POST"')
self.assertContains(response, '<form method="POST" action="/">')
self.assertContains(response, '<input name="item_text"')