summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-29Merge "Re-Enable Promise testcases"Morgan Richomme1-1/+0
2017-05-29Merge "Fix some pylint errors in onos package"Morgan Richomme2-48/+55
2017-05-24Merge "Stop printing in console when testing functest_utils.py"Jose Lausuch1-6/+4
2017-05-24Merge "Add docstrings in unit"valentin boucher3-11/+90
2017-05-24Merge "Rename the class TestSuiteRunner to Suite"valentin boucher3-4/+4
2017-05-24Merge "Rename test_pytest_suite_runner.py to test_unit.py"valentin boucher1-0/+0
2017-05-24Merge "Rename pytest_suite_runner.py to unit.py"valentin boucher5-8/+14
2017-05-24Fix some pylint errors in onos packageLinda Wang2-48/+55
Directories affected: - functest/opnfv_tests/sdn/onos/ JIRA: FUNCTEST-796 Change-Id: Iffbb0e9a021d31a32d940128435a9f6ed43a504f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-23Stop printing in console when testing functest_utils.pyCédric Ollivier1-6/+4
Change-Id: I6fa0f6f449270199cc4d5b2c88e171091bf92773 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Add docstrings in unitCédric Ollivier3-11/+90
It also adds shebang and conforms the copyright header with the related OPNFV template. Change-Id: Iacb0cc8629e3021181eef2e8cb76daf48601abf4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Rename the class TestSuiteRunner to SuiteCédric Ollivier3-4/+4
It conforms with [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/35211/ Change-Id: I11bbdcd63a1691835fb7c6198549edbaf6b758a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Rename test_pytest_suite_runner.py to test_unit.pyCédric Ollivier1-0/+0
It conforms with [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/35211/ Change-Id: Ife7a161970997cf6cd74e86c343d4879f87b5cf4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Merge "Bugfix: fix two typos"valentin boucher2-2/+2
2017-05-23Rename pytest_suite_runner.py to unit.pyCédric Ollivier5-8/+14
It also adds the rst files to include this module in apidoc. Change-Id: Iabbb17bc8601265bd9436c75d1afc0b470df1eb4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Call fetch_os_creds.sh from $PATHLinda Wang3-13/+9
Now it's defined as script in releng/modules' setup.py [1] [1] https://gerrit.opnfv.org/gerrit/#/c/35183/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Depends-On: Ic77f4e46d6d3396f9891b73105a0eb7aa037754f JIRA: FUNCTEST-829 Change-Id: Ief821b7326e0a6c2bbcab31bb21629455e4bc9ea Signed-off-by: Linda Wang <wangwulin@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Bugfix: fix two typosLinda Wang2-2/+2
1. In run_tests.py, test case name is shown before running: logger.error(kwargs['test']) -> logger.info(kwargs['test']) 2. In tempest.py, Verication -> Verification Change-Id: I117838cdb4b0f920c4cf855645d910e623e06868 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-22Merge "Bugfix: fix the errors of onos_sfc"Morgan Richomme1-4/+4
2017-05-22Merge "Update test_vnf.py to support py3"valentin boucher2-3/+3
2017-05-22Merge "Remove former run_unit_tests.sh"valentin boucher1-5/+0
2017-05-22Merge "Test decorators.py in testenv:py35"Cedric Ollivier1-0/+1
2017-05-22Merge "Turn Sphinx warnings into errors"Cedric Ollivier3-1/+1
2017-05-22Merge "Check python3 support when running tox"valentin boucher2-4/+52
2017-05-22Merge "Generate api doc when running tox"valentin boucher2-1/+7
2017-05-22Merge "Update apidoc to conform with vnf module"valentin boucher3-8/+8
2017-05-22Merge "Analyse code when running tox"valentin boucher2-1/+10
2017-05-22Merge "Check style when running tox"valentin boucher2-1/+8
2017-05-22Merge "Delete line breaks before binary operator"valentin boucher2-6/+7
2017-05-22Merge "Sort keys when dumping json"valentin boucher2-2/+3
2017-05-22Merge "Ignore .tox"valentin boucher1-0/+1
2017-05-22Merge "Tox utility to run unit tests"valentin boucher3-65/+15
2017-05-22Merge "Update requests as defined in releng"valentin boucher1-1/+1
2017-05-22Merge "Add baro_tests as requirements"valentin boucher3-7/+3
2017-05-22Merge "Install releng via requirements.txt"valentin boucher4-16/+1
2017-05-22Merge "Set default value for CONFIG_FUNCTEST_YAML"valentin boucher4-5/+8
2017-05-22Merge "Fully cover pytest_suite_runner.py"valentin boucher1-6/+36
2017-05-22Merge "Precise self.result in pytest_suite_runner.py"valentin boucher3-50/+46
2017-05-22Merge "Print stack when catching exceptions in run_tests.py"valentin boucher1-7/+8
2017-05-22Merge "Replace CONST.* by getattribute/setattr for refstack"Morgan Richomme3-25/+31
2017-05-22Update test_vnf.py to support py3Cédric Ollivier2-3/+3
Change-Id: I86dc83b1fc9205f7b8209d63e18439a7e05c646b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Test decorators.py in testenv:py35Cédric Ollivier1-0/+1
Change-Id: I91d5b04f105cf41bef799eccdaabf89cb0440747 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Turn Sphinx warnings into errorsCédric Ollivier3-1/+1
Change-Id: Iefc223a9fa6dbc4e9476aca84b3df4304058862b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Remove former run_unit_tests.shCédric Ollivier1-5/+0
Depends-On: I934f4ac739d99d0cb29bea8c6aac6d6780b30901 Change-Id: I67c8a25a2e712babf99e32fb4c049b0acfd2e44d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Check python3 support when running toxCédric Ollivier2-4/+52
It only tests testcase, feature and odl which supports python3. It creates a temporary requirements.py3.txt which will be safely removed when we stop using subprocess32 [1] and robotframework-sshlibrary. [1] https://jira.opnfv.org/browse/FUNCTEST-827 Change-Id: I92021dcb4aca03f64e2441e3bcff34675a3ae879 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Generate api doc when running toxCédric Ollivier2-1/+7
Change-Id: I78b18981d9f916e6174d44c6280706e404c7c9f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Update apidoc to conform with vnf moduleCédric Ollivier3-8/+8
It completes [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/34467/ Change-Id: Ia4a850b740764774b926d5cdb92c8813bc93f9e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Analyse code when running toxCédric Ollivier2-1/+10
It filters all messages to ease reading the report. Change-Id: Iab55bc71cb6026edde29fb9f084a07b2dedf564f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Check style when running toxCédric Ollivier2-1/+8
Change-Id: Idedf823a1572c40692e445694461b4196b75275d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Delete line breaks before binary operatorCédric Ollivier2-6/+7
They are considered as warnings by flake8. Change-Id: I84ffedc41c24133aa0d45e312bb095526aa1095b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Sort keys when dumping jsonCédric Ollivier2-2/+3
Otherwise dumping them could break some unit tests as they are unordered collections [1]. [1] https://build.opnfv.org/ci/job/functest-verify-master/4122/ Change-Id: I108e946926ae9690cf2421e565f2bb81500f9160 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-21Ignore .toxCédric Ollivier1-0/+1
Change-Id: I50e39057edbbfadd57ea912f1f1ba32389639809 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>