diff options
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |