Skip to content
Snippets Groups Projects
Commit 41a82672 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

tests: Panel brightness can range from 0 to 100 now

This is due to

    Librem5/linux-emcraft@6847961c
parent c7c72f71
No related branches found
No related tags found
No related merge requests found
Pipeline #3936 passed
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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment