mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
7 lines
204 B
Python
7 lines
204 B
Python
import requests
|
|
|
|
def test_ping_homepage():
|
|
"""Ensure the homepage is accessible."""
|
|
resp = requests.get('http://localhost:5005')
|
|
resp.raise_for_status()
|
|
assert 'ci@localhost' in resp.text
|