'Trying to activate an already-active mirror dummy user should just
redirect to a login page.'

def test_registration_of_active_mirror_dummy_user(self):

    user_profile = self.mit_user('sipbtest')
    email = user_profile.email
    user_profile.is_mirror_dummy = True
    user_profile.is_active = True
    user_profile.save()
    result = self.client_post('/register/', {'email': email})
    self.assertEqual(result.status_code, 302)
    self.assertIn('login', result['Location'])
