now working with permissions defined in models.py
This commit is contained in:
@@ -1180,7 +1180,7 @@ class PermissionsViewTests(TestCase):
|
||||
response = self.c.get(url,follow=True)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
expected_url = reverse('team_view',kwargs={'id':self.teampro.id})
|
||||
expected_url = reverse('team_view',kwargs={'team_id':self.teampro.id})
|
||||
|
||||
self.assertRedirects(response,
|
||||
expected_url = expected_url,
|
||||
|
||||
Reference in New Issue
Block a user