Adds views tests
This commit is contained in:
parent
0815b36ec9
commit
91483b56f5
2 changed files with 85 additions and 1 deletions
|
@ -9,7 +9,7 @@ from django.views import View
|
|||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.activitypub import ActivitypubResponse
|
||||
from .helpers import is_api_request
|
||||
from .helpers import is_api_request, object_visible_to_user
|
||||
|
||||
|
||||
# pylint: disable=no-self-use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue