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:
Rahul Nair 2016-08-16 23:19:17 -05:00
parent 6ba669eefe
commit 41e27a2780
1 changed files with 3 additions and 2 deletions

View File

@ -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(