rename feature_base to feature 25/32025/4
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 28 Mar 2017 10:42:42 +0000 (18:42 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 28 Mar 2017 12:27:51 +0000 (20:27 +0800)
remove useless suffix _base

Change-Id: I63a73fd6fef2fccd9b92c405f64dda50735b0026
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
15 files changed:
docs/testing/developer/devguide/index.rst
docs/testing/user/configguide/configguide.rst
functest/core/feature.py [moved from functest/core/feature_base.py with 100% similarity]
functest/opnfv_tests/features/barometer.py
functest/opnfv_tests/features/copper.py
functest/opnfv_tests/features/doctor.py
functest/opnfv_tests/features/domino.py
functest/opnfv_tests/features/netready.py
functest/opnfv_tests/features/odl_sfc.py
functest/opnfv_tests/features/promise.py
functest/opnfv_tests/features/sdnvpn.py
functest/opnfv_tests/features/security_scan.py
functest/opnfv_tests/mano/orchestra.py
functest/opnfv_tests/vnf/rnc/parser.py
functest/opnfv_tests/vnf/router/vyos_vrouter.py

index 366eb7d..3cd9baa 100644 (file)
@@ -157,12 +157,12 @@ In order to harmonize test integration, 3 abstraction classes have been
 introduced in Danube:
 
  * testcase: base for any test case
- * feature_base: abstraction for feature project
+ * feature: abstraction for feature project
  * vnf_base: abstraction for vnf onboarding
 
 The goal is to unify the way to run test from Functest.
 
-feature_base and vnf_base inherit from testcase::
+feature and vnf_base inherit from testcase::
 
               +-----------------------------------------+
               |                                         |
@@ -178,7 +178,7 @@ feature_base and vnf_base inherit from testcase::
                      V                       V
          +--------------------+   +--------------------------+
          |                    |   |                          |
-         |    feature_base    |   |      vnf_base            |
+         |    feature         |   |      vnf_base            |
          |                    |   |                          |
          |  - prepare()       |   |  - prepare()             |
          |  - execute()       |   |  - deploy_orchestrator() |
index 8507c1a..e3485be 100644 (file)
@@ -405,7 +405,7 @@ follows::
         |   `-- setup.py
         |-- core
         |   |-- __init__.py
-        |   |-- feature_base.py
+        |   |-- feature.py
         |   |-- pytest_suite_runner.py
         |   |-- testcase.py
         |   |-- vnf_base.py
index 3206728..fdcd380 100644 (file)
@@ -8,7 +8,7 @@
 
 from baro_tests import collectd
 
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class BarometerCollectd(base.FeatureBase):
index 735b315..9f6d8e1 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class Copper(base.FeatureBase):
index 4d295a6..8fb8406 100644 (file)
@@ -13,7 +13,7 @@
 # 0.2: measure test duration and publish results under json format
 #
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class Doctor(base.FeatureBase):
index b36220f..9a4db73 100644 (file)
@@ -14,7 +14,7 @@
 # 0.3: add report flag to push results when needed
 # 0.4: refactoring to match Test abstraction class
 
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class Domino(base.FeatureBase):
index dec2a23..ab2c9da 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class GluonVping(base.FeatureBase):
index 1956c9c..b26c2b5 100644 (file)
@@ -7,7 +7,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class OpenDaylightSFC(base.FeatureBase):
index 15636fb..bb270ac 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class Promise(base.FeatureBase):
index 1919a03..c375084 100644 (file)
@@ -7,7 +7,7 @@
 #
 # http://www.apache.org/licenses/LICENSE-2.0
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class SdnVpnTests(base.FeatureBase):
index 58f0ec7..ac36e7a 100644 (file)
@@ -8,7 +8,7 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 #
 
-import functest.core.feature_base as base
+import functest.core.feature as base
 from functest.utils.constants import CONST
 
 
index fd5e40d..a805b62 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class Orchestra(base.FeatureBase):
index 1cff722..905d51e 100644 (file)
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-import functest.core.feature_base as base
+import functest.core.feature as base
 
 
 class Parser(base.FeatureBase):
index 6c50e83..110c09b 100644 (file)
@@ -6,7 +6,7 @@
 # are made available under the terms of the Apache License, Version 2.0
 # which accompanies this distribution, and is available at
 # http://www.apache.org/licenses/LICENSE-2.0
-import functest.core.feature_base as base
+import functest.core.feature as base
 import json
 import os