mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-07 00:57:22 +02:00
added tests for the amixer sget
This commit is contained in:
12
test_file.py
Normal file
12
test_file.py
Normal file
@ -0,0 +1,12 @@
|
||||
import jc
|
||||
|
||||
data_sget_headphones = """Simple mixer control 'Headphone',0
|
||||
Capabilities: pvolume pswitch
|
||||
Playback channels: Front Left - Front Right
|
||||
Limits: Playback 0 - 87
|
||||
Mono:
|
||||
Front Left: Playback 0 [0%] [-65.25dB] [off]
|
||||
Front Right: Playback 0 [0%] [-65.25dB] [off]"""
|
||||
|
||||
output_data_sget_headphones = jc.parse("amixer", data_sget_headphones)
|
||||
print(output_data_sget_headphones)
|
Reference in New Issue
Block a user