diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-03-09 06:41:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-09 06:41:51 +0000 |
commit | 67f50b5771a27280d2a0038436dcea4011ff6345 (patch) | |
tree | 9dac22a30f05b27364b7502a704f5f9110e52492 /testapi | |
parent | a0b128a381aa3f97073779206ed67e03cc2b33fe (diff) | |
parent | b562f9220da95160e25e9ede5c6191d443f2cb34 (diff) |
Merge "Fix the error in testapiclient delete"
Diffstat (limited to 'testapi')
-rw-r--r-- | testapi/testapi-client/testapiclient/http_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/testapi-client/testapiclient/http_client.py b/testapi/testapi-client/testapiclient/http_client.py index 59b4f8e..aa6ef11 100644 --- a/testapi/testapi-client/testapiclient/http_client.py +++ b/testapi/testapi-client/testapiclient/http_client.py @@ -44,7 +44,7 @@ class HTTPClient(object): headers=HTTPClient.headers).text def delete(self, url, *args): - if(args.__len__ > 0): + if(args.__len__() > 0): r = self._session_request('delete', url, data=json.dumps(args[0]), headers=HTTPClient.headers) |