Modify TestCase constructor attributes
[functest.git] / functest / opnfv_tests / features / odl_sfc.py
index f96683e..d4f4eb6 100644 (file)
@@ -12,9 +12,8 @@ import functest.core.feature as base
 
 class OpenDaylightSFC(base.Feature):
 
-    def __init__(self, case_name='functest-odl-sfc'):
-        super(OpenDaylightSFC, self).__init__(project='sfc',
-                                              case_name=case_name,
-                                              repo='dir_repo_sfc')
+    def __init__(self, **kwargs):
+        kwargs["repo"] = 'dir_repo_sfc'
+        super(OpenDaylightSFC, self).__init__(**kwargs)
         dir_sfc_functest = '{}/sfc/tests/functest'.format(self.repo)
         self.cmd = 'cd %s && python ./run_tests.py' % dir_sfc_functest