aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/sdn/onos/teston
AgeCommit message (Collapse)AuthorFilesLines
2017-06-01Use CONST to retrieve db_url rather than getter functionLinda Wang1-2/+1
1. Remove get_db_url() 2. If TEST_DB_URL declared in env, update test_db_url in config_functest.yaml file during env preparation 3. No matter TEST_DB_URL declared in env or not, Result_DB = CONST.__getattribute__("results_test_db_url") JIRA: FUNCTEST-763 Change-Id: I20da7ef98bbcc56731e0ff7061b05c1dde6cbfc3 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-24Fix some pylint errors in onos packageLinda Wang1-15/+19
Directories affected: - functest/opnfv_tests/sdn/onos/ JIRA: FUNCTEST-796 Change-Id: Iffbb0e9a021d31a32d940128435a9f6ed43a504f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-04Delete functest.utils.functest_loggerCédric Ollivier3-6/+6
It deletes functest.utils.functest_logger and the related unit tests. Then it modifies all functest modules to get all loggers via logging.getLogger(). __name__ is mainly used as getLogger arg as proposed by logging [1]. All loggers and handlers are now defined via functest/ci/logging.ini instead of a dict loaded by an external json file. Now only warn messages and info messages from ci and core packages are printed in console. [1] https://docs.python.org/2/library/logging.html Change-Id: Ic192855e0f9bf94825d8f7ec73549a0f3b8d44c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-07delete ft_constants and file functest_constants.pySerenaFeng1-19/+19
delete no longer used ft_constants in run_test.py substitute ft_constants with CONST in foundation.py and remove useless str() finally delete not-used file functest_constants.py Change-Id: I109a5409e501b610f41aae7d75c55ca745a3d4c1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-01Adopt TestcaseBase for ONOS and ONOS SFChelenyao1-261/+0
1. Adopted TestcaseBase for ONOS and ONOS SFC 2. Removed the ONOS testcase from exec_test.sh This patch is not meant to refactor the code which can be improved in a later patch. Change-Id: Ib8ac47742f598648c7575c9a8968477307629d42 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-23Use new-style classes which inherit from objectLinda Wang1-1/+1
JIRA: FUNCTEST-707 Change-Id: Ieaa888375136eddbbe003a24b32bf09fd0f92923 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-01-23Fix for opnfv onos-sfc scriptssathishkumarmurugesan1-3/+3
Change-Id: I676885b364e81e2266e72defd7fb21bbc96b093d Signed-off-by: sathishkumarmurugesan <sathishkumar@huawei.com>
2017-01-10Remove cmd to OpenStack, use python clientMorgan Richomme1-8/+8
JIRA: FUNCTEST-503 Change-Id: Ie92051ec128ad4857862e6125628dac24ce99a2a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-05Fix Pep8 issues related to \Morgan Richomme2-3/+2
JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25file/dir renaming for consistencyMorgan Richomme10-0/+966
JIRA: FUNCTEST-579 Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>