Add case_name as constructor arg
[functest.git] / functest / opnfv_tests / features / promise.py
old mode 100755 (executable)
new mode 100644 (file)
index 15636fb..b76a191
 # 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):
+class Promise(base.Feature):
     def __init__(self):
         super(Promise, self).__init__(project='promise',
-                                      case='promise',
+                                      case_name='promise',
                                       repo='dir_repo_promise')
         dir_promise_functest = '{}/promise/test/functest'.format(self.repo)
         self.cmd = 'cd %s && python ./run_tests.py' % dir_promise_functest