Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix testsuite name bugs and improve some ui details
[bottlenecks.git]
/
test-scheduler
/
server
/
src
/
test_parser.py
diff --git
a/test-scheduler/server/src/test_parser.py
b/test-scheduler/server/src/test_parser.py
index
af0134a
..
e4a426b
100644
(file)
--- a/
test-scheduler/server/src/test_parser.py
+++ b/
test-scheduler/server/src/test_parser.py
@@
-44,7
+44,12
@@
def parse(filepath):
return workflowId
return workflowId
-def parseTestcase(schema, tcName='testcase0'):
+def parseTestcase(schema, tcName='testcase0.yaml'):
+ try:
+ tcName.decode('ascii')
+ except Exception, e:
+ print e
+ tcName = 'testcase0.yaml'
if schema is None:
return parseLog(False, reason='schema not found.')
steps = schema['steps']
if schema is None:
return parseLog(False, reason='schema not found.')
steps = schema['steps']