def test_get_success_url(self):
        view = views.BanUnBanViewBase()
        view.kwargs = {'user_uuid': self.normal_user.uuid}
        self.assertEqual(
            view.get_success_url(),
            reverse('user_details', kwargs={'user_uuid': self.normal_user.uuid})
        )
Test that the success url is the user's profile.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/BanUnBanViewBaseTest.test_get_success_url