From 1a6160ebeecffc57b5066ebf343188edf6a63eaa Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 12 Oct 2012 11:37:14 -0400 Subject: wrote sphinx docs for base server Core --- testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py') diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py index a1d41b693..38d3c08e6 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py @@ -201,7 +201,7 @@ class TestProbes(TestProbing, TestConnector, TestDatabaseBacked): def get_obj(self, core=None): if core is None: - core = Mock() + core = MagicMock() return self.test_obj(core, datastore) def get_test_probedata(self): @@ -233,7 +233,7 @@ text "bar.example.com": []} def get_probes_object(self, use_db=False, load_data=None): - core = Mock() + core = MagicMock() core.setup.cfp.getboolean = Mock() core.setup.cfp.getboolean.return_value = use_db if load_data is None: -- cgit v1.2.3-1-g7c22