~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-19 23:06:35 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050719230635-687a98b916c6f24c
Updated transport test, to allow for clients which cache knowledge of missing files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
530
530
 
531
531
    # Make sure the transport recognizes when a
532
532
    # directory is created by other means
533
 
    os.mkdir('dir_e')
 
533
    # Caching Transports will fail, because dir_e was already seen not
 
534
    # to exist. So instead, we will search for a new directory
 
535
    #os.mkdir('dir_e')
 
536
    #if not readonly:
 
537
    #    tester.assertRaises(FileExists, t.mkdir, 'dir_e')
 
538
 
 
539
    os.mkdir('dir_f')
534
540
    if not readonly:
535
 
        tester.assertRaises(FileExists, t.mkdir, 'dir_e')
 
541
        tester.assertRaises(FileExists, t.mkdir, 'dir_f')
536
542
 
537
543
    # Test get/put in sub-directories
538
544
    if readonly: