def METHOD_NAME(self, host, port):
    url = '{api}/user/{user}/pwd'
    res = requests.put(url=url.format(api=hu.url(host, port),
                                      user=hu.tmp_user_id()),
                       json={'currentUserPwd': hu.tmp_user_password(),
                             'newPwd': 'abcd'},
                       headers=hu.tmp_user_header())
    assert res.status_code == 403
    res = requests.put(url=url.format(api=hu.url(host, port),
                                      user=hu.tmp_user_id()),
                       json={'currentUserPwd': 'wrong_pwd',
                             'newPwd': hu.tmp_user_password()},
                       headers=hu.header())
    assert res.status_code == 403
    res = requests.put(url=url.format(api=hu.url(host, port),
                                      user=hu.tmp_user_id()),
                       json={'currentUserPwd': 'abcd1234',
                             'newPwd': hu.tmp_user_password()},
                       headers=hu.header())
    assert res.status_code == 200