1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00

Merge pull request #2537 from enkore/f/osxfail

testsuite: call setup_logging after destroying logging config
This commit is contained in:
enkore 2017-05-20 23:23:26 +02:00 committed by GitHub
commit 1cd90b2c86

View file

@ -44,6 +44,7 @@
from ..helpers import MAX_S
from ..patterns import IECommand, PatternMatcher, parse_pattern
from ..item import Item
from ..logger import setup_logging
from ..remote import RemoteRepository, PathNotAllowed
from ..repository import Repository
from . import has_lchflags, has_llfuse
@ -265,6 +266,7 @@ def tearDown(self):
shutil.rmtree(self.tmpdir, ignore_errors=True)
# destroy logging configuration
logging.Logger.manager.loggerDict.clear()
setup_logging()
def cmd(self, *args, **kw):
exit_code = kw.pop('exit_code', 0)