Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaoli committed Nov 26, 2023
1 parent b7c2a04 commit e044173
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions tidevice/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,18 +252,17 @@ def cmd_xcuitest(args: argparse.Namespace):
setup_logger(LOG.xcuitest, level=logging.DEBUG)

if args.log_dir:
logger.info('XCTest log directory: %s', args.log_dir)
level = logging.DEBUG if args.debug else logging.INFO
# Use the default formatter that is a no-op formatter.
setup_logger(
LOG.xcuitest_test_process_log,
logfile=os.path.join(args.log_dir, 'xctest_test_process.log'),
level=level,
formatter=logging.Formatter())
setup_logger(
LOG.xcuitest_test_output,
logfile=os.path.join(args.log_dir, 'xctest_test_output.log'),
level=level,
formatter=logging.Formatter())
setup_logger(LOG.xcuitest_test_process_log,
logfile=os.path.join(args.log_dir, 'xctest_test_process.log'),
level=level,
formatter=logging.Formatter())
setup_logger(LOG.xcuitest_test_output,
logfile=os.path.join(args.log_dir, 'xctest_test_output.log'),
level=level,
formatter=logging.Formatter())

d = _udid2device(args.udid)
env = {}
Expand Down

0 comments on commit e044173

Please sign in to comment.