Commit 41a82672 authored by Guido Gunther's avatar Guido Gunther

tests: Panel brightness can range from 0 to 100 now

This is due to

    linux-emcraft@6847961c
parent c7c72f71
def test_panel_brightness():
"Check if current panel brighness is in [0..9]"
f = open("/sys/class/backlight/backlight_dsi/brightness")
assert int(f.read()) in range(0, 10)
assert int(f.read()) in range(0, 101)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment