testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00580
[Merge] lp:~kampka/testtools/issue-726539 into lp:testtools
Christian Kampka has proposed merging lp:~kampka/testtools/issue-726539 into lp:testtools.
Requested reviews:
Jonathan Lange (jml)
Related bugs:
#726539 test command broken
https://bugs.launchpad.net/bugs/726539
For more details, see:
https://code.launchpad.net/~kampka/testtools/issue-726539/+merge/51753
* Fixes TestCommand import and reexports it from the testtools package
* Adds a sample setup.cfg configuration for the distutils TestCommand
to demonstrate the proper usage of the command and so that
``python setup.py test`` may actually do something useful by default
--
https://code.launchpad.net/~kampka/testtools/issue-726539/+merge/51753
Your team testtools developers is subscribed to branch lp:testtools.
=== added file 'setup.cfg'
--- setup.cfg 1970-01-01 00:00:00 +0000
+++ setup.cfg 2011-03-01 14:26:33 +0000
@@ -0,0 +1,6 @@
+[test]
+test_module = testtools.tests
+;test_suite = testtools.tests.test_suite
+;failfast=1
+buffer=1
+catch=1
=== modified file 'testtools/__init__.py'
--- testtools/__init__.py 2011-02-14 14:53:41 +0000
+++ testtools/__init__.py 2011-03-01 14:26:33 +0000
@@ -61,6 +61,9 @@
ConcurrentTestSuite,
iterate_tests,
)
+from testtools.distutilscmd import (
+ TestCommand,
+)
# same format as sys.version_info: "A tuple containing the five components of
# the version number: major, minor, micro, releaselevel, and serial. All
Follow ups