Commit 9ec3296c authored by Christopher Turner's avatar Christopher Turner

User input change and formatting

parent f1e060f6
......@@ -82,4 +82,4 @@ class PandATest(object):
def get_summary(self):
error_count = self.test_result.count(0)
self.logger.info("{} ERRORS: {}".format(self.__class__.__name__, error_count))
\ No newline at end of file
self.logger.info("{:<9} ERRORS: {}".format(self.__class__.__name__, error_count))
\ No newline at end of file
......@@ -14,7 +14,7 @@ class lvds(PandATest.PandATest):
inputy = ''
while inputy not in ['y', 'n']:
print "Run plugged test - {} ? [y/n]".format(self.__class__.__name__)
print "Loopback connecters for {} connected ? [y/n]".format(self.__class__.__name__)
inputy = raw_input()
if inputy == 'y':
......
......@@ -10,7 +10,7 @@ class lvdsU(PandATest.PandATest):
inputy = ''
while inputy not in ['y', 'n']:
print "Run unplugged test - {} ? [y/n]".format(self.__class__.__name__)
print "Loopback connecters for {} NOT connected ? [y/n]".format(self.__class__.__name__)
inputy = raw_input()
if inputy == 'y':
......
......@@ -25,7 +25,7 @@ class ttl(PandATest.PandATest):
inputy = ''
while inputy not in ['y', 'n']:
print "Run plugged test - {} ? [y/n]".format(self.__class__.__name__)
print "Loopback connecters for {} connected ? [y/n]".format(self.__class__.__name__)
inputy = raw_input()
if inputy == 'y':
......
......@@ -13,7 +13,7 @@ class ttlU(PandATest.PandATest):
inputy = ''
while inputy not in ['y', 'n']:
print "Run unplugged test - {} ? [y/n]".format(self.__class__.__name__)
print "Loopback connecters for {} NOT connected ? [y/n]".format(self.__class__.__name__)
inputy = raw_input()
#unplugged
......
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