Merge lp:~james-w/testtools/discover into lp:~testtools-committers/testtools/trunk
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | 67 |
Merged at revision: | 67 |
Proposed branch: | lp:~james-w/testtools/discover |
Merge into: | lp:~testtools-committers/testtools/trunk |
Diff against target: |
326 lines (+277/-9) 3 files modified
LICENSE (+19/-0) README (+4/-0) testtools/run.py (+254/-9) |
To merge this branch: | bzr merge lp:~james-w/testtools/discover |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
testtools developers | Pending | ||
Review via email: mp+26994@code.launchpad.net |
Description of the change
Support test discovery in testtools.run.
This is done by backporting TestProgram from 2.7 so that
we can use one interface to run the tests.
I had to make various tweaks where it assumed features that
won't be in older versions.
I dropped the parsing in the __name__ == '__main__' block, as
by my reading it swallows all options.
Thanks,
James
To post a comment you must log in.
Approved- with-tweaks:
small bugfix in the conditional import (put the ok guard at the end)
document the changes made to the python2.7 code
list the (C) PSF code in README and COPYING