/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/test_test_trees.py

  • Committer: Vincent Ladeuil
  • Date: 2007-11-14 08:20:26 UTC
  • mfrom: (2974 +trunk)
  • mto: (2990.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2991.
  • Revision ID: v.ladeuil+lp@free.fr-20071114082026-4d27f52n5r0t82rw
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Tests for the test trees used by the tree_implementations tests."""
18
18
 
19
 
from bzrlib.osutils import has_symlinks
20
 
from bzrlib.tests import TestSkipped
 
19
from bzrlib.tests import SymlinkFeature
21
20
from bzrlib.tests.tree_implementations import TestCaseWithTree
22
21
 
23
22
 
148
147
        # currently this test tree requires unicode. It might be good
149
148
        # to have it simply stop having the single unicode file in it
150
149
        # when dealing with a non-unicode filesystem.
151
 
        if not has_symlinks():
152
 
            raise TestSkipped('No symlink support')
 
150
        self.requireFeature(SymlinkFeature)
153
151
        tree = self.get_tree_with_subdirs_and_all_content_types()
154
152
        tree.lock_read()
155
153
        self.addCleanup(tree.unlock)