summaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorMichael Manfre2022-12-06 00:23:35 -0500
committerGitHub2022-12-05 22:23:35 -0700
commit42c7b629cf68957dab815fe5da4accf484e2cb90 (patch)
treea42f6a44fd20b9e4a7d61d6fd5415d07af298dec /tests/conftest.py
parentb8460b0acd3e833b9ec302d9fa3fb6ab28032c0e (diff)
downloadtakahe-42c7b629cf68957dab815fe5da4accf484e2cb90.tar.gz
takahe-42c7b629cf68957dab815fe5da4accf484e2cb90.tar.bz2
takahe-42c7b629cf68957dab815fe5da4accf484e2cb90.zip
Ignore actor delete messages for unknown actors (#124)
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c67717c..283de76 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -92,6 +92,7 @@ def identity(user, domain) -> Identity:
"""
identity = Identity.objects.create(
actor_uri="https://example.com/@test@example.com/",
+ inbox_uri="https://example.com/@test@example.com/inbox/",
username="test",
domain=domain,
name="Test User",
@@ -125,6 +126,7 @@ def other_identity(user, domain) -> Identity:
"""
identity = Identity.objects.create(
actor_uri="https://example.com/@other@example.com/",
+ inbox_uri="https://example.com/@other@example.com/inbox/",
username="other",
domain=domain,
name="Other User",
@@ -143,6 +145,7 @@ def remote_identity() -> Identity:
domain = Domain.objects.create(domain="remote.test", local=False)
return Identity.objects.create(
actor_uri="https://remote.test/test-actor/",
+ inbox_uri="https://remote.test/@test/inbox/",
profile_uri="https://remote.test/@test/",
username="test",
domain=domain,