aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/copper.py
AgeCommit message (Collapse)AuthorFilesLines
2016-09-08make use of functest_utils.get_parameter_from_yamlSerenaFeng1-4/+4
JIRA: FUNCTEST-463 Change-Id: I1d54a65c5bfa2542f2fd3a2e408967641e6e4ac9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 55d301a2622ff5b63d431b9272caa68224d53843)
2016-09-06Remove all logers as utils method args.Carlos Goncalves1-2/+1
As it modifies method params, it could break the testcases. JIRA: FUNCTEST-428 Conflicts: testcases/features/copper.py testcases/features/doctor.py testcases/features/domino.py Change-Id: I4263d9bd812f1803e513464e3c321cc4a7281958 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8bfe49ee5a6d7b93b3ce7fb6aae0072acb1171d9)
2016-09-05Print all the Copper test output to a log fileCarlos Goncalves1-6/+10
To keep the jenkins console clean and readable, dump all the output that the Copper test case generates to a log file and push it to artifact repository at the end. Change-Id: If4812c7e92b4d050757ca07333f7c353a0220056 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu> (cherry picked from commit 7442f6fb3ec962481d45a8ee0d12ad96242d9c0e)
2016-09-02unify functest_yaml obtain processSerenaFeng1-5/+3
functest_yaml is needed in almost all of the testcases, the obtain process is the same: with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) f.close() abstract a method to unify the process, and provide the interface JIRA: FUNCTEST-447 Change-Id: I96a9a9962d7b466f10bbd3b5ab2495957524e22a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit f4d0a05011e961a363c6d99522684ecdeb959716)
2016-08-31delete useless FUNCTEST_REPO variableSerenaFeng1-1/+0
FUNCTEST_REPO appears in lots of feature testcases, but never be used, delete it clean the code JIRA: FUNCTEST-448 Change-Id: I4a9a10eac29e09b481563ed2c33f4122dd9ee3de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 834f81f0ad708b930f66aec1fd8b36e2cfb8b32b)
2016-08-17Convert to Unix formatCédric Ollivier1-85/+85
Change-Id: I3ddb9c38010c6f19ebd507990b57c9c498f49da8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-17Add reporting flag to push reuslts only from CIMorgan Richomme1-25/+18
JIRA: FUNCTEST-416 Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12copper push to DB fixMorgan Richomme1-17/+23
JIRA: FUNCTEST-67 Change-Id: I03620f7f41f78da0ab004d55f72da88e9a30a1ea Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-27Return -1 if copper test failsjose.lausuch1-4/+9
Change-Id: Ib66d1b69c73603bab33950ca2c0fca3f07eb3d22 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-21Add cd to test directoryblsaws1-1/+2
JIRA: COPPER-4 Fix pendantic formatting issue Change-Id: Iaab44a990fc04addd4c66dc8432bc9428bb5a52f Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-07-06Move copper.py to functest repoblsaws1-0/+80
JIRA:COPPER-4 Fix minor flake8 issues Fix PASS|FAIL to match requirements Change-Id: I91d5ace36c31e4aa189422d8ec20467565e3c4d7 Signed-off-by: blsaws <bryan.sullivan@att.com>