'A valid ``POST`` to the password change view'

def test_change_password_view_success(self):

    self.client.login(username='john', password='blowfish')
    new_password = 'suckfish'
    response = self.client.post(reverse('userena_password_change', kwargs={'username': 'john'}), data={'new_password1': new_password, 'new_password2': 'suckfish', 'old_password': 'blowfish'})
    self.assertRedirects(response, reverse('userena_password_change_complete', kwargs={'username': 'john'}))
    john = User.objects.get(username='john')
    self.assertTrue(john.check_password(new_password))
