Private
Public Access
1
0

adding list of views

first step to testing permissions
This commit is contained in:
Sander Roosendaal
2020-01-19 11:45:41 +01:00
parent d1256c8c06
commit 1e7253995b
2 changed files with 323 additions and 4 deletions

View File

@@ -104,12 +104,19 @@ class PermissionsViewTests(TestCase):
viewstotest = [
('workout_view',
[
{
'login': False,
'kwargs': {'id': encoded1}
'anonymous': True,
'anonymous_response':200,
'own': 'basic',
'own_response': 200,
'member': 'basic',
'member_response': 200,
'coachee': 'coach',
'coachee_response': 200,
'workoutid': False,
'userid': True,
}
])
)
]