summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qbutton.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-03-06 12:46:27 +0100
committerHector Fernandez <hector@iatec.biz>2020-03-06 12:46:27 +0100
commit9f07a57d89a927aa9b172c1bf20c7ab563658c73 (patch)
tree3691cb8d09862db185a628c7bb07df6dd50a64bb /test-cli/test/tests/qbutton.py
parent98d40cecc9818360984188755e455aa53933aab0 (diff)
downloadboard-9f07a57d89a927aa9b172c1bf20c7ab563658c73.zip
board-9f07a57d89a927aa9b172c1bf20c7ab563658c73.tar.gz
board-9f07a57d89a927aa9b172c1bf20c7ab563658c73.tar.bz2
Fixed multiple errors.
Diffstat (limited to 'test-cli/test/tests/qbutton.py')
-rw-r--r--test-cli/test/tests/qbutton.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-cli/test/tests/qbutton.py b/test-cli/test/tests/qbutton.py
index 4718924..46ddde0 100644
--- a/test-cli/test/tests/qbutton.py
+++ b/test-cli/test/tests/qbutton.py
@@ -1,11 +1,14 @@
from test.helpers.syscmd import SysCommand
import unittest
-import uuid
import time
+
class Qbutton(unittest.TestCase):
+ params = None
def __init__(self, testname, testfunc, varlist):
+ self.params = varlist
+ super(Qbutton, self).__init__(testfunc)
if "gpio" in varlist:
self.__gpio = varlist["gpio"]
else: