diff --git a/workspace_tools/host_tests/wait_us_auto.py b/workspace_tools/host_tests/wait_us_auto.py index 6bb10ced71..b17e3746c7 100644 --- a/workspace_tools/host_tests/wait_us_auto.py +++ b/workspace_tools/host_tests/wait_us_auto.py @@ -15,20 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. """ -from host_test import Test, DefaultTest +from host_test import DefaultTest from time import time from sys import stdout class WaitusTest(DefaultTest): - def print_result(self, result): - print "\n{%s}\n{end}" % result - def run(self): test_result = True # First character to start test (to know after reset when test starts) self.mbed.serial.timeout = None c = self.mbed.serial.read(1) - if c == '$': # target will printout TargetID e.g.: $$$$1040e649d5c09a09a3f6bc568adef61375c6 + if c == '$': # target will printout TargetID e.g.: $$$$1040e649d5c09a09a3f6bc568adef61375c6 #Read additional 39 bytes of TargetID self.mbed.serial.read(39) c = self.mbed.serial.read(1) # Re-read first 'tick'