diff options
-rw-r--r-- | qtip/reporter/testapi.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/qtip/reporter/testapi.py b/qtip/reporter/testapi.py index 512dadde..2e4205ea 100644 --- a/qtip/reporter/testapi.py +++ b/qtip/reporter/testapi.py @@ -7,8 +7,18 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -import requests +# OPNFV Testapi Client +# +# API url: http://testresults.opnfv.org/test/api/v1 +# API spec: +# - http://testresults.opnfv.org/test/swagger/spec.html#!/spec/queryTestResults +# - http://testresults.opnfv.org/test/swagger/spec.html#!/spec/createTestResult +# Login: +# username: opnfv +# password: contact admin +# Self host: https://github.com/opnfv/releng/tree/master/utils/test/testapi/deployment +import requests payload_template = {'project_name', 'case_name', |