Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
* changes:
impl executor and leverage to test_pod.py in TestAPI
import from absolute path in TestAPI unit
|
|
Change-Id: Ia1e6b0e787d477a19c78b56ff249d544b49a087b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I8bb7459e5dee49cd120e848ac70834c8d9665a45
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ie4388a4be0cb174129ac168530559114046680ab
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I2ebc86a4c395182ca783d3d36befbed2a21f512b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
implement executor.py
leverage executor to test_pod.py
Change-Id: Ief70a28a935c86430e26f90f35112a7bab9fa81b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ic42db22d825229713b38c75c141af7742ca65dd3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: RELENG-163
Change-Id: I680a181a3c1728034e5782de4bc65cc07f64540c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
applying functools.wraps() to keep the name and docstring
of the original function which is decorated
Change-Id: Id612039921566dd48f8d8797abe30f23aaf99301
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
|
|
allow users use their existed venv
manage all test-related libs in test-requirements.txt
Change-Id: I39a63833e4a1f4f088afa045a83bf12cd01da167
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
in venv mode, setup.cfg will be modified to fit
venv condition, restore to the original after
installation
Change-Id: Ib38b2ab9e015201c812305414a207c05bdf7c830
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
in virtual env mode, config.ini is configured in
.venv/etc/opnfv_testapi, in this case when we start
it the configuration file needs to be specified, by
changing the _default_config, the -config-file is no
longer needed when starting TestAPI in venv mode.
Change-Id: I0217cfefe578bbc3325bb7577ed268dc21cde4ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
when post/update/delete is executed, the return value
always are 200, even if exceptions such as 404/409 happen
Change-Id: I612ad15cc6567f435caa4c889bb0c7b6a73f9c52
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Linting utils/test yaml files
Change-Id: Id239cb2e2b2c4658dedfc187b7784b0302701700
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
after refactor, details in rally_sanity became 'unicode',
which contains built-in 'format' method, which is not processed correctly
error message:
File
"/usr/local/lib/python2.7/dist-packages/opnfv_testapi/resources/models.py",
line 36, in _format
for h in dicts[k]]
KeyError: u"u'details'"
JIRA: FUNCTEST-723
Change-Id: If35e55f542fbbae8bd1a534938b7279b7a634880
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
error message:
"E AssertionError: Mismatched values: u'installers', expected:[], actual: []
Change-Id: Ieae5fdfd2a044909784cbb4766a5d25f4bbafcea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
JIRA: FUNCTEST-707
Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Id379e6786e1f61fb1032f80636da107156e68fb5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Before submitting a patch, we need to execute flake8, unittest,
open coverage report, now with the help of tox any pytest,
we can process them all with only one command.
pytest is choosen here is because of its useful assert showcase,
and powerful properties and healthy ecosystem(plugins of mock etc)
Change-Id: I7ee89da370da08cc2bc70f7d3b1e2741d7d2e1e8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
There are too many parameters when starting TestAPI container,
it will confuse the user. I learned that docker containers like
Jenkins and mongo the internal port is fixed, the user only need
to change the exposed port, so the same strategy is adopted here
Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Projects has been choosen as an helper to test token success,invalid and
unauthorized
JIRA: FUNCTEST-739
Change-Id: Iecc68821f5cc85630c17e54144723cc6f5e21ded
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
As the mongodb database is not so secure today, this has been added.
The token is stored in the mongoDB database. For now, authenticate variable is set
false so that there would be no problem in accessing the databse by jenkins
jobs.
JIRA: FUNCTEST-730
Change-Id: I12b3907d650fc63efbdb031ebf3dd09519750109
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
TestAPI violate import rule of OpenStack Style a lot, like
Do not import objects, only modules
Do not import more than one module per line
Alphabetically order your imports by the full module path
This patch is mean to fix them.
Change-Id: Ia05b944a74b3f443c9101a9840f613f9a6f5ae49
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: RELENG-163
Change-Id: I7fe45f3e92c3dc5f5b32582561249150a2cdb8cf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Changed port from 8711 to 8082 and auto to test in url. There are 3
successful builds.
https://build.opnfv.org/ci/job/testapi-automate-master/
Change-Id: I099b026eb22c7d95d8bf7345837e7c2234ef571d
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
JIRA: RELENG-163
Change-Id: I137898dc84de5f8cb6cab5de9b4ac5de5e4bb978
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
The url is being changed to auto because the auto testresults website is
updated and the api-docs should be in sync with the testresults website.
Note - The auto testresults is created temporarily.
Change-Id: If2428511c46183bd57b1a466fbdd04786528b103
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
|
|
bugfix to :-
https://build.opnfv.org/ci/job/testapi-verify-master/22/console
Change-Id: I0eaa730aed68ce11b9095c2810c223a0519ffcde
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
|
|
|
|
Modified existing bash script to enable code coverage report in jenkins
job. Removed test-requirements.txt.
JIRA: FUNCTEST-703
Change-Id: I7ea6b5c87ce7d098dcb0c74ed195db0f6c3b9692
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
This is being done because titles have become so long in index of
documentation [0] that they don't fit in one line.
[0] http://artifacts.opnfv.org/releng/docs/testapi.html
JIRA: FUNCTEST-704
Change-Id: I046a21d7ceac6dc203ac71d169d4303095bdc69c
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
Removing those builders as it is unnecessary to start and finish server
instead calling testresults.opnfv.org for specs.
JIRA: FUNCTEST-705
Change-Id: Icfbce0c0eaf9d4ca20920de78450a1ffd580344c
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
|