~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Robey Pointer
  • Date: 2006-07-01 19:03:33 UTC
  • mfrom: (1829 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1830.
  • Revision ID: robey@lag.net-20060701190333-f58465aec4bd3412
merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
 
187
187
        if t.is_readonly():
188
188
            return
 
189
        if not t._can_roundtrip_unix_modebits():
 
190
            # Can't roundtrip, so no need to run this test
 
191
            return
189
192
        t.put('mode644', StringIO('test text\n'), mode=0644)
190
193
        self.assertTransportMode(t, 'mode644', 0644)
191
194
        t.put('mode666', StringIO('test text\n'), mode=0666)
922
925
                ]
923
926
 
924
927
        try:
925
 
            self.build_tree(files, transport=t)
 
928
            self.build_tree(files, transport=t, line_endings='binary')
926
929
        except UnicodeError:
927
930
            raise TestSkipped("cannot handle unicode paths in current encoding")
928
931