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
Russ Butler 2017-11-20 12:22:12 -06:00
parent 8d336f253a
commit b958997328
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class UnexpectedResetTest(BaseHostTest):
except StopIteration:
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)
def teardown(self):
@ -86,7 +86,7 @@ class UnexpectedResetTest(BaseHostTest):
# Wait for start token
key, value, time = yield
self.log("Key from yield: %s" % key)
if key != "soft_reset_dut_complete":
if key != "reset_complete":
return