S allius/issue378 (#382)

* move home route into web diretory

* add web UI to add-on

* update changelog

* use Blueprints
This commit is contained in:
Stefan Allius
2025-04-16 01:49:53 +02:00
committed by GitHub
parent 7d5670b6b5
commit 80cefc8082
9 changed files with 35 additions and 17 deletions

View File

@@ -33,16 +33,6 @@ def test_get_log_level():
log_lvl = get_log_level()
assert log_lvl == None
@pytest.mark.asyncio
async def test_home():
"""Test the home route."""
client = app.test_client()
response = await client.get('/')
assert response.status_code == 200
result = await response.get_data()
assert result == b"Hello, world"
@pytest.mark.asyncio
async def test_ready():
"""Test the ready route."""