summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-09-14 17:40:45 +0200
committerHector Fernandez <hector@iatec.biz>2020-09-14 17:40:45 +0200
commit8765219910c95d0712ac0b2c27d33fd7a21fe3b8 (patch)
tree2cfe68361ee0a503e2787ac68dc6fdc334414379 /test-cli/test/helpers
parentf5f3398291c40bcf0a8fdedb48d4821e8e331c3c (diff)
downloadboard-8765219910c95d0712ac0b2c27d33fd7a21fe3b8.zip
board-8765219910c95d0712ac0b2c27d33fd7a21fe3b8.tar.gz
board-8765219910c95d0712ac0b2c27d33fd7a21fe3b8.tar.bz2
IGEP0048: Solved PLC test error. The PLC MAC address can be changed now.
Diffstat (limited to 'test-cli/test/helpers')
-rw-r--r--test-cli/test/helpers/plc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test/helpers/plc.py b/test-cli/test/helpers/plc.py
index b1ec382..c9ef774 100644
--- a/test-cli/test/helpers/plc.py
+++ b/test-cli/test/helpers/plc.py
@@ -36,7 +36,7 @@ class dcpPLC(object):
def setPLCReset(self):
self.__nRest = gpio('75', 'out', '0')
self.__nRest = gpio('69', 'out', '0')
- time.sleep(0.25)
+ time.sleep(1)
self.__nRest = gpio('69', 'out', '1')
self.__nRest = gpio('75', 'out', '1')
@@ -58,7 +58,7 @@ class dcpPLC(object):
return False, "set var failed {} {}".format(var,Error.exit_code)
return True, ''
- def set_plc2 (self, var1, value1,var2, value2, password):
+ def set_plc2 (self, var1, value1, var2, value2, password):
try:
res = self.__myConfigTool("-o", "SET", "-p", "{}={}".format(var1, value1), "-p", "{}={}".format(var2, value2), "-w", "{}".format(password))
print(res)