Check unsupported types before attempting to serialize
This commit is contained in:
parent
fd43b56d31
commit
b2775c5160
2 changed files with 3 additions and 3 deletions
|
@ -219,7 +219,7 @@ class InboxCreate(TestCase):
|
|||
views.inbox.activity_task(activity)
|
||||
|
||||
def test_create_unsupported_type_article(self, *_):
|
||||
""" special case in unsupported type because we do know what it is"""
|
||||
"""special case in unsupported type because we do know what it is"""
|
||||
activity = self.create_json
|
||||
activity["object"] = {
|
||||
"id": "https://example.com/status/887",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue