1
0
Fork 0

Adds unit tests that checks if rel field is set on links

This commit is contained in:
Mouse Reeve 2022-08-05 11:00:43 -07:00
parent 4dd7f88e0a
commit 1ba69acc49
2 changed files with 32 additions and 1 deletions

View file

@ -13,7 +13,7 @@ from bookwyrm.tests.validate_html import validate_html
class LandingViews(TestCase):
"""pages you land on without really trying"""
def setUp(self):
def setUp(self): # pylint: disable=invalid-name
"""we need basic test data and mocks"""
self.factory = RequestFactory()
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(