1
0
Fork 0

Merge pull request #2133 from bookwyrm-social/activitypub-connection-erorr

Don't throw an error when unable to connect to remote data
This commit is contained in:
Mouse Reeve 2022-05-26 10:12:18 -07:00 committed by GitHub
commit 77a7dfa924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 8 deletions

View file

@ -462,6 +462,8 @@ class Status(TestCase):
@responses.activate
def test_ignore_activity_boost(self, *_):
"""don't bother with most remote statuses"""
responses.add(responses.GET, "http://fish.com/nothing")
activity = activitypub.Announce(
id="http://www.faraway.com/boost/12",
actor=self.remote_user.remote_id,