Expanding modal width on controller dashboard. Including hostname in controller dashboard title.

This commit is contained in:
Roland 2025-12-24 16:43:37 -07:00
parent 5fb49ad001
commit b9eb4e5104
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
4 changed files with 12 additions and 5 deletions

View file

@ -50,7 +50,9 @@ class TestDashboardEndpoint:
def test_dashboard_contains_title(self, test_client):
"""Dashboard should contain title."""
response = test_client.get("/")
assert b"WROLPi Controller" in response.content
# Title format is "Controller - {hostname} WROLPi"
assert b"Controller" in response.content
assert b"WROLPi" in response.content
def test_dashboard_contains_version(self, test_client):
"""Dashboard should contain version."""