COSCUP-ap-demo/tests/test_inbox.py

9 lines
236 B
Python
Raw Normal View History

2023-06-13 08:11:29 +02:00
#!/usr/bin/env python3
"""Test inbox route."""
2023-06-13 11:24:39 +02:00
def test_inbox_no_signature_key(client):
2023-06-13 08:11:29 +02:00
"""Test inbox"""
response = client.post("/inbox",
data={"name": "Test"})
assert response.status_code == 401