diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-15 11:28:00 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-15 11:28:05 -0400 |
commit | 904bffc08634d6f393f2e253a6c31bedd3239e04 (patch) | |
tree | ebb0d8ff58db9607b467135e4e11eace8d770b9b /testsuite/Testsrc/Testlib/TestServer/TestPlugin | |
parent | 32536152850a683e18935eb5223a5bd1410e9258 (diff) | |
download | bcfg2-904bffc08634d6f393f2e253a6c31bedd3239e04.tar.gz bcfg2-904bffc08634d6f393f2e253a6c31bedd3239e04.tar.bz2 bcfg2-904bffc08634d6f393f2e253a6c31bedd3239e04.zip |
removed print statements from testsuite
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugin')
-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__, |