def test_get_success_url(self):
        view = views.BecomeUserView()
        view.request = self.request_factory.get('/')
        self.assertEqual(view.get_success_url(), reverse('threads'))
Test get_success_url redirects to the right place.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/BecomeUserViewTest.test_get_success_url