/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/transport/fakevfat.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-04-06 06:59:03 UTC
  • mfrom: (5051.5.1 subunit)
  • Revision ID: pqm@pqm.ubuntu.com-20100406065903-y9dxgwmog1pmw7dz
Use subunit when running tests in PQM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
"""
40
40
 
41
 
from __future__ import absolute_import
42
 
 
43
41
import re
44
42
 
45
 
from . import decorator
 
43
from bzrlib.errors import TransportNotPossible
 
44
from bzrlib.transport import decorator
46
45
 
47
46
 
48
47
# TODO: It might be nice if these hooks were available in a more general way
88
87
        return self._decorated.get(self._squash_name(relpath))
89
88
 
90
89
    def mkdir(self, relpath, mode=None):
91
 
        return self._decorated.mkdir(self._squash_name(relpath), 0o755)
 
90
        return self._decorated.mkdir(self._squash_name(relpath), 0755)
92
91
 
93
92
    def has(self, relpath):
94
93
        return self._decorated.has(self._squash_name(relpath))
102
101
 
103
102
def get_test_permutations():
104
103
    """Return the permutations to be used in testing."""
105
 
    from breezy.tests import test_server
106
 
    return [(FakeVFATTransportDecorator, test_server.FakeVFATServer), ]
 
104
    from bzrlib.tests import test_server
 
105
    return [(FakeVFATTransportDecorator, test_server.FakeVFATServer),]