From 6244c1f49a8e19de19d231bdf8c020f9959c8b01 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Fri, 20 Oct 2006 11:27:56 -0400 Subject: [PATCH] Silence an expected error during testing --- THANKS | 1 + tests/test_idindex.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/THANKS b/THANKS index 8a8e207..6830275 100644 --- a/THANKS +++ b/THANKS @@ -7,6 +7,7 @@ Brian Ewins - Win32 / Portalocker Joe Gregorio - Invoke same version of Python for filters Harry Fuecks - Pipe characters in file names, filter bug Eric van der Vlist - Filters to add language, category information +Chris Dolan - mkdir cache; default template_dirs; fix xsltproc This codebase represents a radical refactoring of Planet 2.0, which lists the following contributors: diff --git a/tests/test_idindex.py b/tests/test_idindex.py index 0de818d..a383eb6 100644 --- a/tests/test_idindex.py +++ b/tests/test_idindex.py @@ -5,6 +5,12 @@ from planet import idindex, config, logger class idIndexTest(unittest.TestCase): + def setUp(self): + # silence errors + import planet + planet.logger = None + planet.getLogger('CRITICAL',None) + def tearDown(self): idindex.destroy()