Commit e93e6320 by Ned Batchelder

Merge pull request #1825 from edx/ned/make-runone-work-with-more-test-output

Make runone work with more test output.
parents 1a585a88 149c3fd0
......@@ -32,8 +32,12 @@ def main(argv):
if words[0].endswith(':'):
del words[0]
test_method = words[0]
test_path = words[1].split('.')
if len(words) == 1:
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':
del test_path[0]
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