diff options
author | Georg Kunz <georg.kunz@ericsson.com> | 2018-07-30 15:10:11 +0200 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-07-31 11:14:15 +0200 |
commit | 081eaf19163fdaeb1e0038240a2e74007527c98c (patch) | |
tree | 4f786ee56c2ee049502af3f68abd19355d13d791 /dovetail/cli/commands/cli_testcase.py | |
parent | cccef0172c0c026e63cd4df3e7f377daaafbc509 (diff) |
Renaming test cases to include test framework names
Replacing the generic "dovetail" prefix of the testcase definitions with
the name of the OPNFV test framework which hosts the test.
JIRA: DOVETAIL-719
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Change-Id: I8f90423b8908197bdc7adddf82c61ff394893f52
Diffstat (limited to 'dovetail/cli/commands/cli_testcase.py')
-rw-r--r-- | dovetail/cli/commands/cli_testcase.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dovetail/cli/commands/cli_testcase.py b/dovetail/cli/commands/cli_testcase.py index 05154882..3ae76c22 100644 --- a/dovetail/cli/commands/cli_testcase.py +++ b/dovetail/cli/commands/cli_testcase.py @@ -60,9 +60,7 @@ class CliTestcase(object): click.echo("No testsuite defined yet in dovetail!!!") def show_testcase(self, name): - tc_path = os.path.join( - constants.TESTCASE_PATH, - "%s.yml" % (name[9:] if name.startswith('dovetail.') else name)) + tc_path = os.path.join(constants.TESTCASE_PATH, "{}.yml".format(name)) if os.path.isfile(tc_path): with open(tc_path, 'r') as stream: try: |