Silence an expected error during testing
This commit is contained in:
parent
4010d2d42d
commit
6244c1f49a
1
THANKS
1
THANKS
@ -7,6 +7,7 @@ Brian Ewins - Win32 / Portalocker
|
|||||||
Joe Gregorio - Invoke same version of Python for filters
|
Joe Gregorio - Invoke same version of Python for filters
|
||||||
Harry Fuecks - Pipe characters in file names, filter bug
|
Harry Fuecks - Pipe characters in file names, filter bug
|
||||||
Eric van der Vlist - Filters to add language, category information
|
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
|
This codebase represents a radical refactoring of Planet 2.0, which lists
|
||||||
the following contributors:
|
the following contributors:
|
||||||
|
@ -5,6 +5,12 @@ from planet import idindex, config, logger
|
|||||||
|
|
||||||
class idIndexTest(unittest.TestCase):
|
class idIndexTest(unittest.TestCase):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
# silence errors
|
||||||
|
import planet
|
||||||
|
planet.logger = None
|
||||||
|
planet.getLogger('CRITICAL',None)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
idindex.destroy()
|
idindex.destroy()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user