def setUp(self):
        self.backend = DefaultRegistrationBackend()
        self.mock_request = mock_request()
        self.admin = User.objects.create_superuser(
                username='******', email='*****@*****.**',
                password='******')

        self.client.login(username='******', password='******')
        self.admin_url = reverse('admin:index')
    def setUp(self):
        self.backend = DefaultRegistrationBackend()
        self.mock_request = mock_request()
        self.admin = User.objects.create_superuser(username='******',
                                                   email='*****@*****.**',
                                                   password='******')

        self.client.login(username='******', password='******')
        self.admin_url = reverse('admin:index')
 def setUp(self):
     self.backend = DefaultRegistrationBackend()
     self.mock_request = mock_request()
 def setUp(self):
     self.backend = DefaultRegistrationBackend()
     self.mock_request = mock_request()