Adds unit tests that checks if rel field is set on links
This commit is contained in:
parent
4dd7f88e0a
commit
1ba69acc49
2 changed files with 32 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue