~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: John Arbash Meinel
  • Date: 2006-04-28 17:18:42 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060428171842-04f65c89de82599e
A couple more fixes to make sure memory:/// works correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
                                              transport_from, f)
281
281
 
282
282
        t = self.get_transport()
283
 
        temp_transport = MemoryTransport('memory:/')
 
283
        temp_transport = MemoryTransport('memory:///')
284
284
        simple_copy_files(t, temp_transport)
285
285
        if not t.is_readonly():
286
286
            t.mkdir('copy_to_simple')
300
300
        t.copy_to(['e/f'], temp_transport)
301
301
 
302
302
        del temp_transport
303
 
        temp_transport = MemoryTransport('memory:/')
 
303
        temp_transport = MemoryTransport('memory:///')
304
304
 
305
305
        files = ['a', 'b', 'c', 'd']
306
306
        t.copy_to(iter(files), temp_transport)
310
310
        del temp_transport
311
311
 
312
312
        for mode in (0666, 0644, 0600, 0400):
313
 
            temp_transport = MemoryTransport("memory:/")
 
313
            temp_transport = MemoryTransport("memory:///")
314
314
            t.copy_to(files, temp_transport, mode=mode)
315
315
            for f in files:
316
316
                self.assertTransportMode(temp_transport, f, mode)