Commit 735f436d authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

Merge branch 'panel-brightness' into 'master'

tests: Panel brightness can range from 0 to 100 now

See merge request !30
parents c7c72f71 41a82672
Pipeline #4106 passed with stages
in 3 minutes and 30 seconds
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