Fixed a bug in runner
There was a bug in runner in the string formatting. This fixes it Change-Id: Iac8a671b7ef550bf326baa136b0aef5b35b39180
This commit is contained in:
parent
6ba669eefe
commit
41e27a2780
|
@ -44,8 +44,9 @@ class Runner(object):
|
|||
testdict = {name: clss.__doc__ for name, clss in cls.get_tests()}
|
||||
for test in testdict:
|
||||
if testdict[test] is None:
|
||||
raise Exception(("No Test description provided"
|
||||
" as doc string for: ".format(test)))
|
||||
raise Exception(("No test description provided"
|
||||
" as doc string for the test: {0}".format(
|
||||
test)))
|
||||
else:
|
||||
test_description = testdict[test].split(".")[0]
|
||||
print("{test:<50}{desc}\r".format(
|
||||
|
|
Loading…
Reference in New Issue