@mock.patch('betdaq.endpoints.account.Account.process_response')
@mock.patch('betdaq.endpoints.account.Account.request', return_value=mock.Mock())
def test_change_account_password(self, mock_request, mock_process_response):
    self.account.change_account_password(Password='new_password')
    mock_request.assert_called_once_with('ChangePassword', {'Password': 'new_password'}, secure=True)
    assert (mock_process_response.call_count == 1)
@mock.patch('betdaq.endpoints.account.Account.process_response')
@mock.patch('betdaq.endpoints.account.Account.request', return_value=mock.Mock())
def test_change_account_password(self, mock_request, mock_process_response):
    self.account.change_account_password(Password='new_password')
    mock_request.assert_called_once_with('ChangePassword', {'Password': 'new_password'}, secure=True)
    assert (mock_process_response.call_count == 1)