COSCUP-ap-demo/tests/test_index.py

8 lines
184 B
Python
Raw Normal View History

2023-06-08 05:17:53 +02:00
#!/usr/bin/env python3
2023-06-08 10:54:36 +02:00
"""Test App index"""
2023-06-08 05:17:53 +02:00
def test_request_example(client):
2023-06-08 10:54:36 +02:00
"""Test index path"""
2023-06-08 05:17:53 +02:00
response = client.get("/")
assert b"Hello Fediverse!" in response.data