mirror of https://github.com/ARMmbed/mbed-os.git
Update unexpected reset host test for htrun
Update the key used in the reset host to match the latest version of htrun.pull/5538/head
parent
8d336f253a
commit
b958997328
|
@ -49,7 +49,7 @@ class UnexpectedResetTest(BaseHostTest):
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
self._error = True
|
self._error = True
|
||||||
|
|
||||||
for resp in ("start", "read", "format_done", "soft_reset_dut_complete"):
|
for resp in ("start", "read", "format_done", "reset_complete"):
|
||||||
self.register_callback(resp, run_gen)
|
self.register_callback(resp, run_gen)
|
||||||
|
|
||||||
def teardown(self):
|
def teardown(self):
|
||||||
|
@ -86,7 +86,7 @@ class UnexpectedResetTest(BaseHostTest):
|
||||||
# Wait for start token
|
# Wait for start token
|
||||||
key, value, time = yield
|
key, value, time = yield
|
||||||
self.log("Key from yield: %s" % key)
|
self.log("Key from yield: %s" % key)
|
||||||
if key != "soft_reset_dut_complete":
|
if key != "reset_complete":
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue