Commit 9d078782 by Oláh István Gergely

dashboard: fix group add user test - anon returns with 302

parent f7ef90b1
...@@ -710,7 +710,7 @@ class GroupDetailTest(LoginMixin, TestCase): ...@@ -710,7 +710,7 @@ class GroupDetailTest(LoginMixin, TestCase):
{'list-new-namelist': 'user1\r\nuser2'}) {'list-new-namelist': 'user1\r\nuser2'})
self.assertEqual(user_in_group, self.assertEqual(user_in_group,
Group.objects.get(pk=1).user_set.count()) Group.objects.get(pk=1).user_set.count())
self.assertEqual(response.status_code, 403) self.assertEqual(response.status_code, 302)
class VmDetailVncTest(LoginMixin, TestCase): class VmDetailVncTest(LoginMixin, TestCase):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment