def test_post_registration_redirect(self):
        new_user = self.backend.register(_mock_request(),
                                         username='bob',
                                         email='bob@example.com',
                                         password1='secret')
        
        self.assertEqual(self.backend.post_registration_redirect(_mock_request(), new_user),
                         (new_user.get_absolute_url(), (), {}))
Indent a piece of text.
dataset/ETHPy150Open nathanborror/django-registration/registration/tests/backends.py/SimpleRegistrationBackendTests.test_post_registration_redirect--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qisys/ui.py/indent