tests: Reset devices based on each test

Make sure the devices are in known state before starting each test case.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-03-09 19:00:57 +02:00
parent 7cb08cdbd6
commit e5774e1888

View file

@ -56,6 +56,8 @@ def main():
if test_filter:
if test_filter not in t.__name__:
continue
for d in dev:
d.reset()
print "START " + t.__name__
for d in dev:
d.request("NOTE TEST-START " + t.__name__)