Cleanup, improve the collection resolver
This commit is contained in:
parent
888410d646
commit
25a75a9cef
6 changed files with 99 additions and 41 deletions
|
@ -53,6 +53,11 @@ class Instance(object):
|
|||
|
||||
return resp.json()['first']['orderedItems']
|
||||
|
||||
def outbox(self):
|
||||
resp = self.session.get(f'{self.host_url}/following', headers={'Accept': 'application/activity+json'})
|
||||
resp.raise_for_status()
|
||||
return resp.json()
|
||||
|
||||
|
||||
def test_federation():
|
||||
"""Ensure the homepage is accessible."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue