1
0
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:
Eden Refael
2024-11-28 23:22:32 +02:00
parent f26d28638a
commit 85c9c8e777
10 changed files with 78 additions and 0 deletions

12
test_file.py Normal file
View 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)