Files
epage/tests/test_app.py

13 lines
275 B
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python3
"""Tests for app/app.py"""
from tests import client # pragma: no cover
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