diff options
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py index f0531d113..f9296ac89 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py @@ -80,7 +80,7 @@ class TestDatabaseBacked(TestPlugin): def get_obj(self, core=None): if not HAS_DJANGO: if core is None: - core = Mock() + core = MagicMock() # disable the database core.setup.cfp.getboolean.return_value = False return TestPlugin.get_obj(self, core=core) |