diff --git a/testing/mozbase/mozlog/tests/test_structured.py b/testing/mozbase/mozlog/tests/test_structured.py index f2f190d3fea..cd4e32189a3 100644 --- a/testing/mozbase/mozlog/tests/test_structured.py +++ b/testing/mozbase/mozlog/tests/test_structured.py @@ -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)