Skip to content

Commit cd2ad23

Browse files
Performed restyle.
1 parent 64d145c commit cd2ad23

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/tests/run_tv_casting_test.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
TV_APP_MAX_START_WAIT_SEC = 2
3232

3333
# The maximum amount of time to commission the Linux tv-casting-app and the tv-app before timeout.
34-
COMMISSIONING_STAGE_MAX_WAIT_SEC =3
34+
COMMISSIONING_STAGE_MAX_WAIT_SEC = 3
3535

3636
# File names of logs for the Linux tv-casting-app and the Linux tv-app.
3737
LINUX_TV_APP_LOGS = 'Linux-tv-app-logs.txt'
@@ -277,7 +277,8 @@ def validate_commissioning_success(tv_casting_app_info: Tuple[subprocess.Popen,
277277
while True:
278278
# Check if we exceeded the maximum wait time for validating commissioning success between the Linux tv-casting-app and the Linux tv-app.
279279
if time.time() - start_wait_time > COMMISSIONING_STAGE_MAX_WAIT_SEC:
280-
logging.error('The commissioning between the Linux tv-casting-app process and the Linux tv-app process did not complete successfully within the timeout.')
280+
logging.error(
281+
'The commissioning between the Linux tv-casting-app process and the Linux tv-app process did not complete successfully within the timeout.')
281282
return False
282283

283284
tv_casting_line = tv_casting_app_process.stdout.readline()
@@ -416,7 +417,7 @@ def test_casting_fn(tv_app_rel_path, tv_casting_app_rel_path):
416417
# Example string: \x1b[0;32m[1714582264602] [77989:2286038] [SVR] Discovered Commissioner #0\x1b[0m
417418
# The value '0' will be extracted from the string.
418419
valid_discovered_commissioner_number = valid_discovered_commissioner.split('#')[-1].replace('\x1b[0m', '')
419-
420+
420421
test_commissioning_fn(valid_discovered_commissioner_number, tv_casting_app_info, tv_app_info, log_paths)
421422

422423

0 commit comments

Comments
 (0)