Skip to content

Commit 77eb611

Browse files
Moving test_subscr_fn to before parse_tv_app and parse_tv_casting_app in test_launchUrl_fn.
1 parent 0b11058 commit 77eb611

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/tests/run_tv_casting_test.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -535,13 +535,11 @@ def test_subscription_fn(tv_casting_app_info: Tuple[subprocess.Popen, TextIO], l
535535
def test_launchUrl_fn(tv_casting_app_info: Tuple[subprocess.Popen, TextIO], tv_app_info: Tuple[subprocess.Popen, TextIO], log_paths: List[str]):
536536
"""Test that the Linux tv-casting-app sent the launchUrl and that the Linux tv-app received the launchUrl."""
537537

538-
538+
test_subscription_fn(tv_casting_app_info, log_paths) # SHAO added
539539

540540
if not parse_tv_app_output_for_launchUrl_msg_success(tv_app_info, log_paths):
541541
handle_casting_failure('Testing launchUrl', log_paths)
542542

543-
test_subscription_fn(tv_casting_app_info, log_paths) # SHAO added
544-
545543
if not parse_tv_casting_app_output_for_launchUrl_msg_success(tv_casting_app_info, log_paths):
546544
handle_casting_failure('Testing launchUrl', log_paths)
547545

0 commit comments

Comments
 (0)