Commit 149c3fd0 by Ned Batchelder

Make runone work with more test output.

parent c62abedd
...@@ -32,8 +32,12 @@ def main(argv): ...@@ -32,8 +32,12 @@ def main(argv):
if words[0].endswith(':'): if words[0].endswith(':'):
del words[0] del words[0]
test_method = words[0] if len(words) == 1:
test_path = words[1].split('.') test_path, test_method = words[0].rsplit('.', 1)
test_path = test_path.split('.')
else:
test_method = words[0]
test_path = words[1].split('.')
if test_path[0] == 'mitx': if test_path[0] == 'mitx':
del test_path[0] del test_path[0]
test_class = test_path[-1] test_class = test_path[-1]
......
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