Add Pydantic support for JRD (resolves #1)

This commit is contained in:
2024-08-16 16:12:47 +01:00
parent 82ba2af669
commit 18ab52e123
6 changed files with 221 additions and 32 deletions

View File

@@ -32,6 +32,13 @@ def test_invalid_domain(app, client):
def test_invalid_user(app, client):
"""
Check a basic user (no extra config in the config file) results in a 200
"""
response = client.get("/.well-known/webfinger?resource=acct:testaccount@doofnet.uk")
assert response.status_code == 200
def test_empty_user(app, client):
"""
Check a invalid user results in a 404
"""