Skip to content

Commit 2b73cac

Browse files
Run restyle.
1 parent 4aaff34 commit 2b73cac

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

scripts/tests/linux/tv_casting_test_sequences.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@
6767

6868
# Values that identify the Linux tv-app and are noted in the 'Device Configuration' in the Linux tv-app output
6969
# as well as under the 'Discovered Commissioner' details in the Linux tv-casting-app output.
70-
VENDOR_ID = 0xFFF1 # 0xFFF1 = 65521; Spec 7.20.2.1 MEI code: test vendor IDs are 0xFFF1 to 0xFFF4
71-
PRODUCT_ID = 0x8001 # 0x8001 = 32769 = Test product id
72-
DEVICE_TYPE_CASTING_VIDEO_PLAYER = 0x23 # 0x23 = 35 = Device type library 10.3: Casting Video Player
70+
VENDOR_ID = 0xFFF1 # 0xFFF1 = 65521; Spec 7.20.2.1 MEI code: test vendor IDs are 0xFFF1 to 0xFFF4
71+
PRODUCT_ID = 0x8001 # 0x8001 = 32769 = Test product id
72+
DEVICE_TYPE_CASTING_VIDEO_PLAYER = 0x23 # 0x23 = 35 = Device type library 10.3: Casting Video Player
7373

7474
# 0x457 = 1111 = Target Content Application Vendor ID for the commissioner generated passcode flow
7575
COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID = 0x457
76-
COMMISSIONER_GENERATED_PASSCODE = '0x00BC_614E' # 0x00BC_614E = 12345678 = Default commissioner generated passcode
76+
COMMISSIONER_GENERATED_PASSCODE = '0x00BC_614E' # 0x00BC_614E = 12345678 = Default commissioner generated passcode
7777

7878
# Value to verify the subscription state against in the Linux tv-casting-app output.
7979
ATTRIBUTE_CURRENT_PLAYBACK_STATE = 0x0000_0000 # Application Cluster Spec 6.10.6 Attribute ID: Current State of Playback

scripts/tests/run_tv_casting_test.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -275,20 +275,20 @@ def test_casting_fn(tv_app_rel_path, tv_casting_app_rel_path, commissioner_gener
275275
"""Test if the casting experience between the Linux tv-casting-app and the Linux tv-app continues to work.
276276
277277
By default, it uses the provided executable paths and the commissionee generated passcode flow as the test sequence.
278-
278+
279279
Example usages:
280280
1. Use default paths and test sequence:
281281
python3 run_tv_casting_test.py
282-
282+
283283
2. Use custom executable paths and default test sequence:
284284
python3 run_tv_casting_test.py --tv-app-rel-path=path/to/tv-app --tv-casting-app-rel-path=path/to/tv-casting-app
285-
285+
286286
3. Use default paths and a test sequence that is not the default test sequence (replace `test-sequence-name` with the actual name of the test sequence):
287287
python3 run_tv_casting_test.py --test-sequence-name=True
288-
288+
289289
4. Use custom executable paths and a test sequence that is not the default test sequence (replace `test-sequence-name` with the actual name of the test sequence):
290290
python3 run_tv_casting_test.py --tv-app-rel-path=path/to/tv-app --tv-casting-app-rel-path=path/to/tv-casting-app --test-sequence-name=True
291-
291+
292292
Note: In order to enable a new test sequence, we also need to define a @click.option() entry for the test sequence.
293293
"""
294294

0 commit comments

Comments
 (0)