Message53044
This is a simple patch to add a "removeTest" method to the unittest.TestSuite object. It is called in exactly the same way the "addTest" method is called, except that it removes the provided TestCase from the suite.
This is useful if you want to add a bunch of unittests via TestLoader().loadTestsFromModule(), EXCEPT for a few specific cases, which you would like to subsequently remove.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:59:45 | admin | link | issue1778410 messages |
2007-08-23 15:59:45 | admin | create | |
|