mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Whitespace fixes
This commit is contained in:
parent
9894b777b6
commit
94764160cc
9 changed files with 1 additions and 9 deletions
|
@ -35,7 +35,6 @@ class InboxActivities(TestCase):
|
|||
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_add_book_to_shelf(self):
|
||||
""" shelving a book """
|
||||
work = models.Work.objects.create(title="work title")
|
||||
|
|
|
@ -50,7 +50,6 @@ class InboxActivities(TestCase):
|
|||
}
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.ActivityStream.add_status")
|
||||
def test_handle_boost(self, _):
|
||||
""" boost a status """
|
||||
|
|
|
@ -34,7 +34,6 @@ class InboxBlock(TestCase):
|
|||
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_blocks(self):
|
||||
""" create a "block" database entry from an activity """
|
||||
self.local_user.followers.add(self.remote_user)
|
||||
|
|
|
@ -49,7 +49,6 @@ class InboxActivities(TestCase):
|
|||
}
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_delete_status(self):
|
||||
""" remove a status """
|
||||
self.assertFalse(self.status.deleted)
|
||||
|
|
|
@ -34,7 +34,6 @@ class InboxRelationships(TestCase):
|
|||
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_follow(self):
|
||||
""" remote user wants to follow local user """
|
||||
activity = {
|
||||
|
|
|
@ -49,7 +49,6 @@ class InboxActivities(TestCase):
|
|||
}
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_favorite(self):
|
||||
""" fav a status """
|
||||
activity = {
|
||||
|
|
|
@ -25,7 +25,6 @@ class InboxActivities(TestCase):
|
|||
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_unshelve_book(self):
|
||||
""" remove a book from a shelf """
|
||||
work = models.Work.objects.create(title="work title")
|
||||
|
|
|
@ -34,7 +34,6 @@ class InboxUpdate(TestCase):
|
|||
}
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
|
||||
def test_handle_update_list(self):
|
||||
""" a new list """
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"):
|
||||
|
|
Loading…
Reference in a new issue