forked from forks/microblog.pub
7 lines
200 B
Python
7 lines
200 B
Python
import requests
|
|
|
|
def test_ping_homepage():
|
|
"""Ensure the homepage is accessible."""
|
|
resp = requests.get('http://localhost:5005')
|
|
resp.raise_for_status()
|
|
assert resp.status_code == 200
|