Commit f6669c89 authored by Christopher Turner's avatar Christopher Turner

Fix user input message

parent 83704e75
......@@ -74,9 +74,12 @@ class LoopBack(PandATest.PandATest):
test_cls.test_result = []
self.check_connectors(test_cls.__class__.__name__, test_cls.blocknum)
elif test_cls.test_result.count(0) == 0:
print 'TEST PASSED! ({} {})'.format(test_cls.__class__.__name__,
test_cls.blocknum)
break
def get_summary(self):
tests = [self.lp, self.tp, self.enc1, self.enc2, self.enc3, self.enc4]
summary = []
......
......@@ -79,6 +79,8 @@ class Unplugged(PandATest.PandATest):
test_cls.test_result = []
self.check_connectors(test_cls.__class__.__name__, test_cls.blocknum)
elif test_cls.test_result.count(0) == 0:
print 'TEST PASSED! ({} {})'.format(test_cls.__class__.__name__,
test_cls.blocknum)
break
def get_summary(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment