def test_redirects_to_moderate__group_requests_on_success(self):
        group_request_one = GroupRequest.objects.create(
            user=self.user2, group=self.group)
        response = self.client.post(
            reverse('moderate_requests'),
            {'open_requests': group_request_one.pk, 'action': 'approve'}
        )
        self.assertRedirects(response, reverse('moderate_requests'))
        group_request_one = GroupRequest.objects.get(pk=group_request_one.pk)
        self.assertTrue(group_request_one.approved)
Successful moderation should redirect user back to the same page.
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupRequestUpdateViewTest.test_redirects_to_moderate__group_requests_on_success