COSCUP-ap-demo/tests/test_inbox.py
SouthFox e427290f77
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
[refactor] rename test name
2023-06-13 17:24:39 +08:00

8 lines
236 B
Python

#!/usr/bin/env python3
"""Test inbox route."""
def test_inbox_no_signature_key(client):
"""Test inbox"""
response = client.post("/inbox",
data={"name": "Test"})
assert response.status_code == 401