Message206670
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'> |
|
Date |
User |
Action |
Args |
2013-12-20 09:02:25 | arnaut-billings | set | recipients:
+ arnaut-billings, docs@python |
2013-12-20 09:02:25 | arnaut-billings | set | messageid: <1387530145.58.0.951879545916.issue20030@psf.upfronthosting.co.za> |
2013-12-20 09:02:25 | arnaut-billings | link | issue20030 messages |
2013-12-20 09:02:25 | arnaut-billings | create | |
|