Create API to run a test case
authorLinda Wang <wangwulin@huawei.com>
Fri, 18 Aug 2017 06:09:56 +0000 (06:09 +0000)
committerLinda Wang <wangwulin@huawei.com>
Mon, 21 Aug 2017 02:47:42 +0000 (02:47 +0000)
commit26efacba9304071956d16a9a50a18e8f243518bb
tree38c8cdb8c363f1f9592be904b6e805567c3be66d
parent58665932c2c910cedac2a135e5b84a5ec4b5946e
Create API to run a test case

Two APIs are created here:
1. Run a test case
2. Get the result of the task id

JIRA: FUNCTEST-853

Change-Id: I12950933b143b82fb6aeb186ea1b35ddd16e6097
Signed-off-by: Linda Wang <wangwulin@huawei.com>
14 files changed:
functest/api/base.py
functest/api/common/api_utils.py
functest/api/common/error.py [deleted file]
functest/api/common/thread.py [new file with mode: 0644]
functest/api/database/__init__.py [new file with mode: 0644]
functest/api/database/db.py [new file with mode: 0644]
functest/api/database/v1/__init__.py [new file with mode: 0644]
functest/api/database/v1/handlers.py [new file with mode: 0644]
functest/api/database/v1/models.py [new file with mode: 0644]
functest/api/resources/v1/envs.py
functest/api/resources/v1/tasks.py [new file with mode: 0644]
functest/api/resources/v1/testcases.py
functest/api/server.py
functest/api/urls.py