For the TestGetBzrCommitterID test case, remove the tearDown, and instead do something like:
committer = DirectBranchCommit(...) self.addCleanup(committer.unlock)
The test should also work in the DatabaseFunctionalLayer rather than the ZopelessDatabaseLayer. Unless there is a reason why you are running it in that layer, in which case, document it.
How about "Launchpad Translations on behalf of %s"?
« Back to merge proposal
For the TestGetBzrCommi tterID test case, remove the tearDown, and instead
do something like:
committer = DirectBranchCom mit(... ) (committer. unlock)
self.addCleanup
The test should also work in the DatabaseFunctio nalLayer rather than the eLayer. Unless there is a reason why you are running it in
ZopelessDatabas
that layer, in which case, document it.
How about "Launchpad Translations on behalf of %s"?