Rev 4184: Fix bug #347130 by properly isolating test_msgeditor.MsgEditorTest tests. in file:///net/bigmamac/Volumes/home/vila/src/bzr/bugs/347130-test-not-isolated/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Mar 23 10:14:11 GMT 2009
At file:///net/bigmamac/Volumes/home/vila/src/bzr/bugs/347130-test-not-isolated/
------------------------------------------------------------
revno: 4184
revision-id: v.ladeuil+lp at free.fr-20090323101410-apiz1vvscip8h6wn
parent: pqm at pqm.ubuntu.com-20090323043327-txb4jri5i3gssuj5
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 347130-test-not-isolated
timestamp: Mon 2009-03-23 11:14:10 +0100
message:
Fix bug #347130 by properly isolating test_msgeditor.MsgEditorTest tests.
* bzrlib/tests/__init__.py:
(TestCase._cleanEnvironment): Add VISUAL and EDITOR to get better
isolation.
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py 2009-03-20 05:08:48 +0000
+++ b/bzrlib/tests/__init__.py 2009-03-23 10:14:10 +0000
@@ -1250,6 +1250,8 @@
# bzr now uses the Win32 API and doesn't rely on APPDATA, but the
# tests do check our impls match APPDATA
'BZR_EDITOR': None, # test_msgeditor manipulates this variable
+ 'VISUAL': None,
+ 'EDITOR': None,
'BZR_EMAIL': None,
'BZREMAIL': None, # may still be present in the environment
'EMAIL': None,
More information about the bazaar-commits
mailing list