Avoid test_logging failure when run after test_unittest, by renaming a conflicting logger
This commit is contained in:
parent
0715b9fad3
commit
04d4d6a3aa
|
@ -1345,7 +1345,7 @@ class ConfigFileTest(BaseTest):
|
|||
|
||||
def test_logger_disabling(self):
|
||||
self.apply_config(self.disable_test)
|
||||
logger = logging.getLogger('foo')
|
||||
logger = logging.getLogger('some_pristine_logger')
|
||||
self.assertFalse(logger.disabled)
|
||||
self.apply_config(self.disable_test)
|
||||
self.assertTrue(logger.disabled)
|
||||
|
|
Loading…
Reference in New Issue