Rev 5449: Use TestCaseInTempDir for tests requiring disk resources in file:///home/vila/src/bzr/bugs/650001-test-isolation/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Tue Sep 28 17:28:45 BST 2010
At file:///home/vila/src/bzr/bugs/650001-test-isolation/
------------------------------------------------------------
revno: 5449
revision-id: v.ladeuil+lp at free.fr-20100928162845-w1yt0yb3chra37jg
parent: pqm at pqm.ubuntu.com-20100927200836-asjq41qt5fol30df
fixes bug(s): https://launchpad.net/bugs/650001
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 650001-test-isolation
timestamp: Tue 2010-09-28 18:28:45 +0200
message:
Use TestCaseInTempDir for tests requiring disk resources
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS 2010-09-27 19:31:45 +0000
+++ b/NEWS 2010-09-28 16:28:45 +0000
@@ -58,6 +58,8 @@
* Fix tests that failed when run under ``LANG=C``.
(Andrew Bennetts, #632387)
+* Use tests.TestCaseInTempDir for tests that requires disk resources.
+ (Vincent Ladeuil, #650001)
bzr 2.3b1
#########
=== modified file 'bzrlib/tests/test_config.py'
--- a/bzrlib/tests/test_config.py 2010-08-30 08:26:45 +0000
+++ b/bzrlib/tests/test_config.py 2010-09-28 16:28:45 +0000
@@ -778,7 +778,7 @@
assertWarning(None)
-class TestGlobalConfigItems(tests.TestCase):
+class TestGlobalConfigItems(tests.TestCaseInTempDir):
def test_user_id(self):
my_config = config.GlobalConfig.from_string(sample_config_text)
More information about the bazaar-commits
mailing list