Rev 5449: (vila) Use TestCaseInTempDir for TestGlobalConfig tests requiring disk in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Sep 29 09:29:29 BST 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5449 [merge]
revision-id: pqm at pqm.ubuntu.com-20100929082928-02ubdohahyx23qnf
parent: pqm at pqm.ubuntu.com-20100927200836-asjq41qt5fol30df
parent: v.ladeuil+lp at free.fr-20100928162845-w1yt0yb3chra37jg
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2010-09-29 09:29:28 +0100
message:
  (vila) Use TestCaseInTempDir for TestGlobalConfig tests requiring disk
   resources (Vincent Ladeuil)
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/tests/test_config.py    testconfig.py-20051011041908-742d0c15d8d8c8eb
=== 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