aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-01 15:51:10 +0200
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-01 16:28:43 +0200
commit58c118253a081f19a8a14a0a16895b04c6b8f222 (patch)
treef8c8367368a4909112c5ea26eeab7dfd215dab5f
parenta4f17c371efa443c190950337eefddd475558621 (diff)
Rename sfc.py
Rename sfc.py to sfc_two_chains_SSH_and_HTTP.py. Renaming the testcase is a functional requirement as well because otherwise it aliases sfc module inside sfc/sfc/tests/ directory Change-Id: Id505c22a8f278260aee8f76254b0e10f5ed7213a Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
-rw-r--r--sfc/tests/functest/config.yaml6
-rw-r--r--sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py (renamed from sfc/tests/functest/sfc.py)4
2 files changed, 2 insertions, 8 deletions
diff --git a/sfc/tests/functest/config.yaml b/sfc/tests/functest/config.yaml
index 9acca599..c198d957 100644
--- a/sfc/tests/functest/config.yaml
+++ b/sfc/tests/functest/config.yaml
@@ -15,11 +15,7 @@ defaults:
vnfd-dir: "vnfd-templates"
testcases:
-# this change requires sfc.py to be renamed as sfc_two_chains_SSH_and_HTTP
-# for run_tests.py integration. Rename of sfc.py will be submitted in
-# separate patch for better review clarity and name will be changed back to
-# sfc_two_chains_SSH_and_HTTP once sfc.py is renamed
- sfc:
+ sfc_two_chains_SSH_and_HTTP:
enabled: true
description: "ODL-SFC tests"
testname_db: "sfc_two_chains_SSH_and_HTTP"
diff --git a/sfc/tests/functest/sfc.py b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
index 7bb5a5ac..2383bb3e 100644
--- a/sfc/tests/functest/sfc.py
+++ b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
@@ -36,9 +36,7 @@ logger = ft_logger.Logger("ODL_SFC").getLogger()
CLIENT = "client"
SERVER = "server"
COMMON_CONFIG = sfc_config.CommonConfig()
-# TestcaseConfig sfc name will be changed once
-# we rename sfc.py with appropriate name
-TESTCASE_CONFIG = sfc_config.TestcaseConfig('sfc')
+TESTCASE_CONFIG = sfc_config.TestcaseConfig('sfc_two_chains_SSH_and_HTTP')
def main():