Host test plugins: refactored TestResults class to HostTestResults name

pull/719/head
Przemek Wirkus 2014-10-28 11:44:45 +00:00
parent c0134d66fb
commit 00904b5f24
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ limitations under the License.
import sys import sys
import uuid import uuid
from sys import stdout from sys import stdout
from host_test import TestResults, Test from host_test import HostTestResults, Test
class EchoTest(Test): class EchoTest(Test):
@ -28,7 +28,7 @@ class EchoTest(Test):
def __init__(self): def __init__(self):
# Constructors # Constructors
TestResults.__init__(self) HostTestResults.__init__(self)
Test.__init__(self) Test.__init__(self)
# Test parameters # Test parameters

View File

@ -214,7 +214,7 @@ class Mbed:
self.serial.flushOutput() self.serial.flushOutput()
class TestResults: class HostTestResults:
""" Test results set by host tests """ Test results set by host tests
""" """
def __init__(self): def __init__(self):
@ -226,7 +226,7 @@ class TestResults:
self.RESULT_IOERR_COPY = "ioerr_copy" self.RESULT_IOERR_COPY = "ioerr_copy"
class Test(TestResults): class Test(HostTestResults):
""" Base class for host test's test runner """ Base class for host test's test runner
""" """
def __init__(self): def __init__(self):
@ -282,7 +282,7 @@ class DefaultTest(Test):
""" Test class with serial port initialization """ Test class with serial port initialization
""" """
def __init__(self): def __init__(self):
TestResults.__init__(self) HostTestResults.__init__(self)
Test.__init__(self) Test.__init__(self)
serial_init_res = self.mbed.init_serial() serial_init_res = self.mbed.init_serial()
if not serial_init_res: if not serial_init_res: