Python formatting
This commit is contained in:
parent
6323b0e700
commit
c06817e9ff
4 changed files with 3 additions and 6 deletions
|
@ -84,12 +84,10 @@ class LinkViews(TestCase):
|
|||
self.assertEqual(
|
||||
activity["object"]["fileLinks"][0]["href"], "https://www.example.com"
|
||||
)
|
||||
self.assertEqual(
|
||||
activity["object"]["fileLinks"][0]["mediaType"], "HTML"
|
||||
)
|
||||
self.assertEqual(activity["object"]["fileLinks"][0]["mediaType"], "HTML")
|
||||
self.assertEqual(
|
||||
activity["object"]["fileLinks"][0]["attributedTo"],
|
||||
self.local_user.remote_id
|
||||
self.local_user.remote_id,
|
||||
)
|
||||
|
||||
link = models.FileLink.objects.get()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue