diff options
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py index df55e2bf3..b16f1a1a2 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py @@ -411,7 +411,7 @@ class TestXMLFileBacked(TestFileBacked): def test_follow_xincludes(self, mock_parse, mock_exists): xfb = self.get_obj() xfb.add_monitor = Mock() - + def reset(): xfb.add_monitor.reset_mock() mock_parse.reset_mock() @@ -1765,14 +1765,12 @@ class TestGroupSpool(TestPlugin, TestGenerator): def get_obj(self, core=None): if core is None: - print "creating core as a magicmock" core = MagicMock() core.setup = MagicMock() else: try: core.setup['encoding'] except TypeError: - print "creating core.setup.__getitem__" core.setup.__getitem__ = MagicMock() @patch("%s.%s.AddDirectoryMonitor" % (self.test_obj.__module__, |