summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-22 13:56:04 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-22 13:56:04 -0400
commit986217efa0794b608be70a53c2f83c312ae14665 (patch)
treeb00473b1fae5b88cd9a3dc67cad73bfce2c76f1d /testsuite
parent83b17993fa2b90437371f121a72590181a43a03c (diff)
downloadbcfg2-986217efa0794b608be70a53c2f83c312ae14665.tar.gz
bcfg2-986217efa0794b608be70a53c2f83c312ae14665.tar.bz2
bcfg2-986217efa0794b608be70a53c2f83c312ae14665.zip
revert plugin interface tests that shouldn't have been included in commit (yet)
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testinterfaces.py10
1 files changed, 4 insertions, 6 deletions
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()