TestDebuntuExpansions creatively escapes test isolation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
After tweaking the windows babune slave setup to be a better ssh citizen and launchpad user I encounter surprising failures:
http://
# bzrlib.
# bzrlib.
# bzrlib.
What ?
It turns out that the following lines contains a pretty way to get rid of the isolation provided by TestCaseInTempDir:
class TestDebuntuExpa
"""Test expansions for ubuntu: and debianlp: schemes."""
def setUp(self):
I'll send a fix.
I don't think we can do much in terms of controlling *what* a setUp method can do as there valid cases (this one isn't of course) for jumping above the inherited one.
Related branches
- Martin Packman (community): Approve
-
Diff: 25 lines (+3/-1)2 files modifiedbzrlib/plugins/launchpad/test_lp_directory.py (+1/-1)
doc/en/release-notes/bzr-2.3.txt (+2/-0)
Changed in bzr: | |
milestone: | none → 2.3b5 |
status: | Confirmed → Fix Released |