From 602e5a378057f3cd5ca355fd3ed2a17fcc147c72 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 10 Dec 2022 13:24:49 -0700 Subject: Add system actor and shared inbox --- tests/users/views/test_activitypub.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/users') diff --git a/tests/users/views/test_activitypub.py b/tests/users/views/test_activitypub.py index c6e7faf..c15e232 100644 --- a/tests/users/views/test_activitypub.py +++ b/tests/users/views/test_activitypub.py @@ -14,6 +14,7 @@ def test_webfinger_actor(client, identity): # Fetch their actor data = client.get("/@test@example.com/", HTTP_ACCEPT="application/ld+json").json() assert data["id"] == "https://example.com/@test@example.com/" + assert data["endpoints"]["sharedInbox"] == "https://example.com/inbox/" @pytest.mark.django_db @@ -31,6 +32,7 @@ def test_webfinger_system_actor(client): data = client.get("/actor/", HTTP_ACCEPT="application/ld+json").json() assert data["id"] == "https://example.com/actor/" assert data["inbox"] == "https://example.com/actor/inbox/" + assert data["endpoints"]["sharedInbox"] == "https://example.com/inbox/" @pytest.mark.django_db -- cgit v1.2.3