Commit e6f84c8c authored by Projects's avatar Projects

tests/pulse_rejection: use the SLOT parameter from ei2cdefine

parent 5ff3bc00
......@@ -23,7 +23,7 @@ import ei2cdefine as cfg
address = cfg.HNAME if cfg.ENABLED and cfg.HNAME else raw_input("Hostname: ")
user = cfg.USER if cfg.ENABLED and cfg.USER else raw_input("User: ")
password = cfg.PWD if cfg.ENABLED and cfg.PWD else raw_input("Password: ")
slot = int(input("Slot number: "))
slot = cfg.SLOT if cfg.ENABLED and cfg.SLOT else int(input("Slot number: "))
cooldown_time = 20 # number seconds of cool down time between tests
elma = Elma(address, user, password)
......
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