def METHOD_NAME(self):
    user = User.objects.create(username='changemypass', email='changeme@example.com', password='unchanged')
    response = self.client.post(
        reverse('admin-user-change-password', kwargs={'pk': user.id}), data={'password': 'changed'}
    )
    self.assertEqual(response.status_code, 302)
    user.refresh_from_db()
    self.assertTrue(user.check_password('changed'))