Message85447
> The main use case for addCleanup is resource allocation in tests. Why
> does this require clean ups to be executed before tearDown?
If your cleanup relies on something which has been set up during setUp
and will be dropped during tearDown (a database connection, a temp dir,
an ssh session, whatever), then the cleanup must be run before the
teardown. |
|
Date |
User |
Action |
Args |
2009-04-04 23:06:28 | pitrou | set | recipients:
+ pitrou, gregory.p.smith, rbcollins, michael.foord |
2009-04-04 23:06:27 | pitrou | link | issue5679 messages |
2009-04-04 23:06:25 | pitrou | create | |
|