From 986217efa0794b608be70a53c2f83c312ae14665 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 22 Oct 2012 13:56:04 -0400 Subject: revert plugin interface tests that shouldn't have been included in commit (yet) --- .../Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py') diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py index 9a064663e..ace509057 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py @@ -326,13 +326,11 @@ class TestGoalValidator(Bcfg2TestCase): gv.validate_goals, None, None) -class TestVersion(TestPlugin): +class TestVersion(Bcfg2TestCase): test_obj = Version - - def get_obj(self, core=None): - if core is None: - core = Mock() - return self.test_obj(core, datastore) + + def get_obj(self): + return self.test_obj(datastore) def test_get_revision(self): d = self.get_obj() -- cgit v1.2.3-1-g7c22