From 6804d3aaae24f6747fb0546336cfae5db3c71609 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Fri, 23 Jan 2026 21:51:56 -0500 Subject: [PATCH] actually committed previously enumerated changes; the previous commit actually contained only the migrations reflecting these changes --- src/apps/dashboard/tests/test_models.py | 2 +- src/functional_tests/base.py | 2 +- src/templates/apps/dashboard/list.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/dashboard/tests/test_models.py b/src/apps/dashboard/tests/test_models.py index 6dcf7c1..afb30a1 100644 --- a/src/apps/dashboard/tests/test_models.py +++ b/src/apps/dashboard/tests/test_models.py @@ -3,7 +3,7 @@ from django.db.utils import IntegrityError from django.test import TestCase from ..models import Item, List -class ItemModelsTest(TestCase): +class ItemModelTest(TestCase): def test_default_text(self): item = Item() self.assertEqual(item.text, "") diff --git a/src/functional_tests/base.py b/src/functional_tests/base.py index d220a94..02f6466 100644 --- a/src/functional_tests/base.py +++ b/src/functional_tests/base.py @@ -32,7 +32,7 @@ class FunctionalTest(StaticLiveServerTestCase): start_time = time.time() while True: try: - table = self.browser.find_element(By.ID, 'id-list-table') + table = self.browser.find_element(By.ID, 'id_list_table') rows = table.find_elements(By.TAG_NAME, 'tr') self.assertIn(row_text, [row.text for row in rows]) return diff --git a/src/templates/apps/dashboard/list.html b/src/templates/apps/dashboard/list.html index d1b6ad8..ec9340b 100644 --- a/src/templates/apps/dashboard/list.html +++ b/src/templates/apps/dashboard/list.html @@ -6,7 +6,7 @@ {% block form_action %}{% url "view_list" list.id %}{% endblock form_action %} {% block table %} - +
{% for item in list.item_set.all %} {% endfor %}
{{ forloop.counter }}. {{ item.text }}