Adds permissions checking for admin models
This commit is contained in:
parent
e51980bc12
commit
330be16516
5 changed files with 35 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue