~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-12 08:40:15 UTC
  • mfrom: (1651.1.7 bzr.mbp.escape-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20060412084015-e6472a0717edbca6
(mbp) storage escaping, cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
329
329
    def assertTransportMode(self, transport, path, mode):
330
330
        """Fail if a path does not have mode mode.
331
331
        
332
 
        If modes are not supported on this platform, the test is skipped.
 
332
        If modes are not supported on this transport, the assertion is ignored.
333
333
        """
334
 
        if sys.platform == 'win32':
 
334
        if not transport._can_roundtrip_unix_modebits():
335
335
            return
336
336
        path_stat = transport.stat(path)
337
337
        actual_mode = stat.S_IMODE(path_stat.st_mode)
953
953
                   'bzrlib.tests.test_diff',
954
954
                   'bzrlib.tests.test_doc_generate',
955
955
                   'bzrlib.tests.test_errors',
 
956
                   'bzrlib.tests.test_escaped_store',
956
957
                   'bzrlib.tests.test_fetch',
957
958
                   'bzrlib.tests.test_gpg',
958
959
                   'bzrlib.tests.test_graph',