summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qbutton.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test/tests/qbutton.py')
-rw-r--r--test-cli/test/tests/qbutton.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-cli/test/tests/qbutton.py b/test-cli/test/tests/qbutton.py
index 1fb204a..72a897e 100644
--- a/test-cli/test/tests/qbutton.py
+++ b/test-cli/test/tests/qbutton.py
@@ -21,6 +21,9 @@ class Qbutton(unittest.TestCase):
disable_pmic = SysCommand("disable_pmic", str_cmd)
disable_pmic.execute()
# BUG: REPEAT THIS EXECUTION TWICE BECAUSE FIRST TIME IT RETURNS AN ERROR
+ led_on="echo 1 > /sys/class/leds/red\:usbhost/brightness"
+ ledon = SysCommand("led_on", led_on)
+ ledon.execute()
time.sleep(0.1)
disable_pmic.execute()
if disable_pmic.execute() == 0: