adding list of views
first step to testing permissions
This commit is contained in:
@@ -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,
|
||||
}
|
||||
])
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user