1
0
Fork 0

Adds permissions checking for admin models

This commit is contained in:
Mouse Reeve 2022-09-19 09:51:41 -07:00
parent e51980bc12
commit 330be16516
5 changed files with 35 additions and 8 deletions

View file

@ -15,6 +15,7 @@ from bookwyrm.tests.validate_html import validate_html
class AutomodViews(TestCase):
"""every response to a get request, html or json"""
# pylint: disable=invalid-name
def setUp(self):
"""we need basic test data and mocks"""
self.factory = RequestFactory()