New version of black, new whitespace
This commit is contained in:
@ -9,10 +9,10 @@ from bookwyrm import models, views
|
||||
|
||||
# pylint: disable=too-many-public-methods
|
||||
class InboxAdd(TestCase):
|
||||
""" inbox tests """
|
||||
"""inbox tests"""
|
||||
|
||||
def setUp(self):
|
||||
""" basic user and book data """
|
||||
"""basic user and book data"""
|
||||
local_user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.com",
|
||||
@ -42,7 +42,7 @@ class InboxAdd(TestCase):
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
def test_handle_add_book_to_shelf(self):
|
||||
""" shelving a book """
|
||||
"""shelving a book"""
|
||||
shelf = models.Shelf.objects.create(user=self.remote_user, name="Test Shelf")
|
||||
shelf.remote_id = "https://bookwyrm.social/user/mouse/shelf/to-read"
|
||||
shelf.save()
|
||||
@ -65,7 +65,7 @@ class InboxAdd(TestCase):
|
||||
|
||||
@responses.activate
|
||||
def test_handle_add_book_to_list(self):
|
||||
""" listing a book """
|
||||
"""listing a book"""
|
||||
responses.add(
|
||||
responses.GET,
|
||||
"https://bookwyrm.social/user/mouse/list/to-read",
|
||||
|
Reference in New Issue
Block a user