New version of black, new whitespace

This commit is contained in:
Mouse Reeve
2021-04-26 09:15:42 -07:00
parent ef83eb33b0
commit 3ade2d3bb1
152 changed files with 1289 additions and 1289 deletions

View File

@ -8,10 +8,10 @@ from bookwyrm import views
class NotificationViews(TestCase):
""" notifications """
"""notifications"""
def setUp(self):
""" we need basic test data and mocks """
"""we need basic test data and mocks"""
self.factory = RequestFactory()
self.local_user = models.User.objects.create_user(
"mouse@local.com",
@ -23,7 +23,7 @@ class NotificationViews(TestCase):
models.SiteSettings.objects.create()
def test_notifications_page(self):
""" there are so many views, this just makes sure it LOADS """
"""there are so many views, this just makes sure it LOADS"""
view = views.Notifications.as_view()
request = self.factory.get("")
request.user = self.local_user
@ -33,7 +33,7 @@ class NotificationViews(TestCase):
self.assertEqual(result.status_code, 200)
def test_clear_notifications(self):
""" erase notifications """
"""erase notifications"""
models.Notification.objects.create(
user=self.local_user, notification_type="FAVORITE"
)