testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00579
[Bug 726539] Re: test command broken
First, I fixed the import of the TestCommand class but I am not sure if
Jonathan did not remove that part deliberately so that fix might be
wrong. Jonathan, if you do not wish to export the TestCommand directly
over the testtools package, I would appreciate a quick comment, just to
be sure :)
Second, I added a sample 'setup.cfg' file to demonstrate how to use the TestCommand class with distutils and testtools.
`python setup.py test` should run the testtools test suite now.
--
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/726539
Title:
test command broken
Status in testtools:
New
Bug description:
gwenhwyvar:~/src/testtools/fix-testcommand% ./setup.py test
Traceback (most recent call last):
File "./setup.py", line 65, in <module>
cmdclass={'test': testtools.TestCommand})
AttributeError: 'module' object has no attribute 'TestCommand'
References