From 00904b5f247144b66876de3ffee5d8bfd2a2932c Mon Sep 17 00:00:00 2001 From: Przemek Wirkus Date: Tue, 28 Oct 2014 11:44:45 +0000 Subject: [PATCH] Host test plugins: refactored TestResults class to HostTestResults name --- workspace_tools/host_tests/echo.py | 4 ++-- workspace_tools/host_tests/host_test.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/workspace_tools/host_tests/echo.py b/workspace_tools/host_tests/echo.py index dc96f8539e..cc09b1fb30 100644 --- a/workspace_tools/host_tests/echo.py +++ b/workspace_tools/host_tests/echo.py @@ -18,7 +18,7 @@ limitations under the License. import sys import uuid from sys import stdout -from host_test import TestResults, Test +from host_test import HostTestResults, Test class EchoTest(Test): @@ -28,7 +28,7 @@ class EchoTest(Test): def __init__(self): # Constructors - TestResults.__init__(self) + HostTestResults.__init__(self) Test.__init__(self) # Test parameters diff --git a/workspace_tools/host_tests/host_test.py b/workspace_tools/host_tests/host_test.py index b4700ecec5..1ec542ebc6 100644 --- a/workspace_tools/host_tests/host_test.py +++ b/workspace_tools/host_tests/host_test.py @@ -214,7 +214,7 @@ class Mbed: self.serial.flushOutput() -class TestResults: +class HostTestResults: """ Test results set by host tests """ def __init__(self): @@ -226,7 +226,7 @@ class TestResults: self.RESULT_IOERR_COPY = "ioerr_copy" -class Test(TestResults): +class Test(HostTestResults): """ Base class for host test's test runner """ def __init__(self): @@ -282,7 +282,7 @@ class DefaultTest(Test): """ Test class with serial port initialization """ def __init__(self): - TestResults.__init__(self) + HostTestResults.__init__(self) Test.__init__(self) serial_init_res = self.mbed.init_serial() if not serial_init_res: