~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-04 01:10:55 UTC
  • mfrom: (1634.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060404011055-cc6bc217328f4055
Merge NFS LockDir support (Aaron Bentley, Robert Collins).

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from bzrlib.errors import NotBranchError, NotVersionedError
27
27
from bzrlib.lockdir import LockDir
28
28
from bzrlib.osutils import pathjoin, getcwd, has_symlinks
29
 
from bzrlib.tests import TestCaseWithTransport
 
29
from bzrlib.tests import TestCaseWithTransport, TestSkipped
30
30
from bzrlib.trace import mutter
31
31
from bzrlib.transport import get_transport
32
32
import bzrlib.workingtree as workingtree
190
190
        dir = bzrdir.BzrDirMetaFormat1().initialize(url)
191
191
        repo = dir.create_repository()
192
192
        branch = dir.create_branch()
193
 
        tree = workingtree.WorkingTreeFormat3().initialize(dir)
 
193
        try:
 
194
            tree = workingtree.WorkingTreeFormat3().initialize(dir)
 
195
        except errors.NotLocalUrl:
 
196
            raise TestSkipped('Not a local URL')
194
197
        self.assertIsDirectory('.bzr', t)
195
198
        self.assertIsDirectory('.bzr/checkout', t)
196
199
        self.assertIsDirectory('.bzr/checkout/lock', t)