summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py
index 343f088b3..35f4e0700 100644
--- a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py
+++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py
@@ -328,15 +328,25 @@ class TestDecision(Bcfg2TestCase):
class TestStructureValidator(Bcfg2TestCase):
+ test_obj = StructureValidator
+
+ def get_obj(self):
+ return self.test_obj()
+
def test_validate_structures(self):
- sv = StructureValidator()
+ sv = self.get_obj()
self.assertRaises(NotImplementedError,
sv.validate_structures, None, None)
class TestGoalValidator(Bcfg2TestCase):
+ test_obj = GoalValidator
+
+ def get_obj(self):
+ return self.test_obj()
+
def test_validate_goals(self):
- gv = GoalValidator()
+ gv = self.get_obj()
self.assertRaises(NotImplementedError,
gv.validate_goals, None, None)