mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-24 17:06:18 -05:00
Expanding modal width on controller dashboard. Including hostname in controller dashboard title.
This commit is contained in:
parent
5fb49ad001
commit
b9eb4e5104
4 changed files with 12 additions and 5 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue