feat: Implement initial schema and add various API, service, and management command enhancements across the application.

This commit is contained in:
pacnpal
2026-01-01 15:13:01 -05:00
parent c95f99ca10
commit b243b17af7
413 changed files with 11164 additions and 17433 deletions

View File

@@ -142,9 +142,7 @@ class TestBreadcrumbBuilder:
def test_schema_positions_auto_assigned(self):
"""Should auto-assign schema positions."""
builder = BreadcrumbBuilder()
crumbs = (
builder.add_home().add("Parks", "/parks/").add_current("Test").build()
)
crumbs = builder.add_home().add("Parks", "/parks/").add_current("Test").build()
assert crumbs[0].schema_position == 1
assert crumbs[1].schema_position == 2

View File

@@ -5,7 +5,6 @@ These tests verify that message helper functions generate
consistent, user-friendly messages.
"""
from apps.core.utils.messages import (
confirm_delete,
error_not_found,
@@ -131,8 +130,4 @@ class TestConfirmMessages:
def test_confirm_delete_warning(self):
"""Should include warning about irreversibility."""
message = confirm_delete("Park")
assert (
"cannot be undone" in message.lower()
or "permanent" in message.lower()
or "sure" in message.lower()
)
assert "cannot be undone" in message.lower() or "permanent" in message.lower() or "sure" in message.lower()