From 47bf26ce49f8992107c0bf9f7a645966080d20f2 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Fri, 2 Jan 2026 00:00:56 -0500 Subject: [PATCH] plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass --- apps/dashboard/tests.py | 32 +++++++++++++++++++----------- apps/dashboard/views.py | 6 +++++- core/urls.py | 5 +++-- functional_tests/tests.py | 4 ++-- templates/apps/dashboard/home.html | 2 +- 5 files changed, 31 insertions(+), 18 deletions(-) diff --git a/apps/dashboard/tests.py b/apps/dashboard/tests.py index 64b6e73..7bba493 100644 --- a/apps/dashboard/tests.py +++ b/apps/dashboard/tests.py @@ -8,19 +8,10 @@ class HomePageTest(TestCase): def test_renders_input_form(self): response = self.client.get('/') - self.assertContains(response, '
') + self.assertContains(response, '') self.assertContains(response, '') + self.assertContains(response, '

Your To-Do List

- + {% csrf_token %}