From 081eaf19163fdaeb1e0038240a2e74007527c98c Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Mon, 30 Jul 2018 15:10:11 +0200 Subject: 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 Change-Id: I8f90423b8908197bdc7adddf82c61ff394893f52 --- dovetail/cli/commands/cli_testcase.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dovetail') 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: -- cgit 1.2.3-korg