summaryrefslogtreecommitdiffstats
path: root/dovetail/testcase.py
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-04-21 06:31:33 +0000
committerxudan <xudan16@huawei.com>2017-04-21 09:11:59 +0000
commit5f563a9b99378362a11d9cf1b0fb6c544a9fc077 (patch)
treec15a20c826c9e990efb705ffb495f70ac875f160 /dovetail/testcase.py
parent56b5afa17e54e789715a5b22711e27a44a25168c (diff)
use Functest tempest_custom test cases to run all Ipv6 test cases
JIRA: DOVETAIL-401 1. modify all Ipv6 test cases, change tempest_smoke_serial/tempest_full_parallel into tempest_custom, add ID of each sub-testcases. 2. Some sub-testcases in ipv6.tc002, ipv6.tc003, ipv6.tc004 and ipv6.tc005 can not be found in the full tempest test case list. 2. disable testcases' script_result_acquired to enable tempest_custom run multiple times. 3. use build_tag-testcase_name(such as daily-master-79a6e392-28bb-4c40-9d88-a03bed99da2d-dovetail.ipv6.tc025) as the unique ID of each testcase. 4. comment out the progress bar, because it has some problems when print the report text. 5. Functest has changed the TEST_DB_URL from http://<testapi>:<port>/apv/v1 to http://<testapi>:<port>/apv/v1/results. 6. Functest has changed the TEST_DB_URL to file://<file_path>/<file_name>. see https://gerrit.opnfv.org/gerrit/#/c/33511/ Change-Id: I524f6702377f215f526158214842481eb44565be Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/testcase.py')
-rw-r--r--dovetail/testcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/testcase.py b/dovetail/testcase.py
index 13a31fde..408599fc 100644
--- a/dovetail/testcase.py
+++ b/dovetail/testcase.py
@@ -159,7 +159,7 @@ class Testcase(object):
src_file.write(sub_test + '\n')
self.logger.debug('save testcases to %s', file_path)
except Exception:
- self.logger.error('Failed to save: %s', src_file)
+ self.logger.error('Failed to save: %s', file_path)
src_file_path = os.path.join(dt_cfg.dovetail_config['result_dir'],
testcase_src_file)