Bug 1003412 - Fix Mozbase unit test mozlog/tests/test_structured.py on windows. r=dminor

This commit is contained in:
Julien Pagès 2014-05-16 05:46:00 -04:00
parent 5cbd5db49e
commit 64d3acce20

View File

@ -190,7 +190,7 @@ class TestCommandline(unittest.TestCase):
def test_setup_logging(self):
parser = argparse.ArgumentParser()
commandline.add_logging_group(parser)
args = parser.parse_args(["--log-raw=/tmp/foo"])
args = parser.parse_args(["--log-raw=-"])
logger = commandline.setup_logging("test", args, {})
self.assertEqual(len(logger.handlers), 1)