diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-12 11:37:14 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-15 09:10:21 -0400 |
commit | 1a6160ebeecffc57b5066ebf343188edf6a63eaa (patch) | |
tree | 92918e45ca04cf9a753715b84be638ac748d5dbe /testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | |
parent | 0a083d2dd024b193338a61193ffc8d0c0c03561d (diff) | |
download | bcfg2-1a6160ebeecffc57b5066ebf343188edf6a63eaa.tar.gz bcfg2-1a6160ebeecffc57b5066ebf343188edf6a63eaa.tar.bz2 bcfg2-1a6160ebeecffc57b5066ebf343188edf6a63eaa.zip |
wrote sphinx docs for base server Core
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: |