This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arnaut-billings
Recipients arnaut-billings, docs@python
Date 2013-12-20.09:02:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387530145.58.0.951879545916.issue20030@psf.upfronthosting.co.za>
In-reply-to
Content
Here: http://docs.python.org/3/library/unittest.html#unittest.TestLoader.discover

it states that "Find and return all test modules ..."

This implies that in order to get a test suite, one has to iterate over the return value of unittest.TestLoader.discover and call loadTestsFromModule for each module.

But, the type of the result of unittest.TestLoader.discover returns: <class 'unittest.suite.TestSuite'>
History
Date User Action Args
2013-12-20 09:02:25arnaut-billingssetrecipients: + arnaut-billings, docs@python
2013-12-20 09:02:25arnaut-billingssetmessageid: <1387530145.58.0.951879545916.issue20030@psf.upfronthosting.co.za>
2013-12-20 09:02:25arnaut-billingslinkissue20030 messages
2013-12-20 09:02:25arnaut-billingscreate