Files
epage/tests/test_app.py
2022-07-10 20:18:14 +01:00

13 lines
254 B
Python

#!/usr/bin/env python3
"""Tests for app/app.py"""
from tests import client
def test_index(client) -> None:
"""Ensure that the index page is loaded correctly."""
req = client.get('/')
assert req.status_code == 200 and "ePage" in req.text