At http://bazaar.launchpad.net/%7Ebzr/bzr/osx_tests_fix

------------------------------------------------------------
revno: 3651
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Vincent Ladeuil <[EMAIL PROTECTED]>
branch nick: osx_tests_fix
timestamp: Mon 2008-09-08 15:04:27 +0200
message:
  Fix test_rename_to_denormalised_fails for OSX.
  
  * bzrlib/tests/workingtree_implementations/test_rename_one.py:
  (TestRenameOne.test_rename_to_denormalised_fails): Doesn't apply
  to OSX which always normalize file names.
modified:
  bzrlib/tests/workingtree_implementations/test_rename_one.py 
test_rename_one.py-20070226161242-2d8ibdedl700jgio-1
=== modified file 'bzrlib/tests/workingtree_implementations/test_rename_one.py'
--- a/bzrlib/tests/workingtree_implementations/test_rename_one.py       
2008-01-28 22:41:25 +0000
+++ b/bzrlib/tests/workingtree_implementations/test_rename_one.py       
2008-09-08 13:04:27 +0000
@@ -21,6 +21,7 @@
 from bzrlib import (
     errors,
     osutils,
+    tests,
     )
 
 from bzrlib.workingtree_4 import WorkingTreeFormat4
@@ -310,6 +311,8 @@
                                ('a/b', 'b-id')], tree.basis_tree())
 
     def test_rename_to_denormalised_fails(self):
+        if osutils.normalizes_filenames():
+            raise tests.TestNotApplicable('OSX normalizes filenames')
         tree = self.make_branch_and_tree('.')
         self.build_tree(['a'])
         tree.add(['a'])

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to