Rev 2829: Redo minor fix. in file:///v/home/vila/src/bugs/osx.pass.test.suite/

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue Sep 18 09:14:02 BST 2007


At file:///v/home/vila/src/bugs/osx.pass.test.suite/

------------------------------------------------------------
revno: 2829
revision-id: v.ladeuil+lp at free.fr-20070918081400-fx11853zky2twa97
parent: v.ladeuil+lp at free.fr-20070917210847-hneglal34t75toin
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: osx.pass.test.suite
timestamp: Tue 2007-09-18 10:14:00 +0200
message:
  Redo minor fix.
  
  * bzrlib/tests/blackbox/test_too_much.py:
  (OldTests.test_bzr): Use assertIsSameRealPath.
modified:
  bzrlib/tests/blackbox/test_too_much.py blackbox.py-20050620052131-a7370d756399f615
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_too_much.py'
--- a/bzrlib/tests/blackbox/test_too_much.py	2007-09-14 13:56:18 +0000
+++ b/bzrlib/tests/blackbox/test_too_much.py	2007-09-18 08:14:00 +0000
@@ -47,7 +47,6 @@
 from bzrlib.osutils import (
     has_symlinks,
     pathjoin,
-    realpath,
     terminal_width,
     )
 from bzrlib.tests.HTTPTestUtil import TestCaseWithWebserver
@@ -387,8 +386,8 @@
         chdir('branch1')
         self.run_bzr('init')
 
-        self.assertEquals(self.run_bzr('root')[0].rstrip(),
-                          realpath(pathjoin(self.test_dir, 'branch1')))
+        self.assertIsSameRealPath(self.run_bzr('root')[0].rstrip(),
+                                  pathjoin(self.test_dir, 'branch1'))
 
         progress("status of new file")
 



More information about the bazaar-commits mailing list