summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qbutton.py
diff options
context:
space:
mode:
authorManel Caro <mcaro@iseebcn.com>2019-03-09 21:38:10 +0100
committerManel Caro <mcaro@iseebcn.com>2019-03-09 21:38:10 +0100
commitfa1e1822769d735745869ef02671408d006f2b13 (patch)
treeed36d7f424d7535eff2bf5d089847dc1fe3a31be /test-cli/test/tests/qbutton.py
parente4366bb1f2dc3a43a1289f6f76967f1005278954 (diff)
downloadboard-fa1e1822769d735745869ef02671408d006f2b13.zip
board-fa1e1822769d735745869ef02671408d006f2b13.tar.gz
board-fa1e1822769d735745869ef02671408d006f2b13.tar.bz2
Change some test
Update some tests
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: