'Changing to same email shows validation error.'

def test_user_change_email_duplicate(self):

    u = UserFactory(email='newvalid@email.com')
    response = self.client.post(reverse('users.change_email'), {'email': u.email})
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_('A    user    with    that    email    address    already    exists.', doc('ul.errorlist').text())
