Merge lp:~james-w/testtools/discover into lp:~testtools-committers/testtools/trunk
Proposed by
James Westby
on 2010-06-07
| Status: | Merged |
|---|---|
| Approved by: | Robert Collins on 2010-06-10 |
| 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 | 2010-06-07 | Pending | |
|
Review via email:
|
|||
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.
lp:~james-w/testtools/discover
updated
on 2010-06-10
- 68. By James Westby on 2010-06-10
-
Move has_discover = True until we know we have set up everything we need.
- 69. By James Westby on 2010-06-10
-
Comment on the changes made to TestProgram.
| Robert Collins (lifeless) wrote : | # |
| James Westby (james-w) wrote : | # |
Tweaks made as requested.
Thanks,
James
lp:~james-w/testtools/discover
updated
on 2010-06-10
- 70. By James Westby on 2010-06-10
-
Add (C)/License information.

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