mirror of
https://github.com/nikdoof/simple-webfinger.git
synced 2025-12-13 10:22:15 +00:00
Add Pydantic support for JRD (resolves #1)
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user