

def test_join_with_deleted_email(self):
    self.form_data['email'] = 'popular@example.com'
    r = self.client.post('/join', self.form_data)
    self.assert_join_validation_error(r, 'already associated')
    api.actor_remove(api.ROOT, 'popular@example.com')
    self.form_data['email'] = 'popular@example.com'
    r = self.client.post('/join', self.form_data)
    r = self.assertRedirectsPrefix(r, '/welcome')

dataset/ETHPy150Open CollabQ/CollabQ/join/tests.py JoinTest.test_join_with_deleted_email/original