summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py')
-rw-r--r--testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py b/testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py
index d5e32e3..643057c 100644
--- a/testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py
+++ b/testapi/opnfv_testapi/tests/unit/handlers/test_testcase.py
@@ -57,21 +57,26 @@ class TestCaseBase(base.TestBase):
self.assertIsNotNone(new._id)
self.assertIsNotNone(new.creation_date)
+ @executor.mock_valid_lfid()
def create_d(self):
return super(TestCaseBase, self).create_d(self.project)
+ @executor.mock_valid_lfid()
def create_e(self):
return super(TestCaseBase, self).create_e(self.project)
def get(self, case=None):
return super(TestCaseBase, self).get(self.project, case)
+ @executor.mock_valid_lfid()
def create(self, req=None, *args):
return super(TestCaseBase, self).create(req, self.project)
+ @executor.mock_valid_lfid()
def update(self, new=None, case=None):
return super(TestCaseBase, self).update(new, self.project, case)
+ @executor.mock_valid_lfid()
def delete(self, case):
return super(TestCaseBase, self).delete(self.project, case)