~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-04 18:51:39 UTC
  • mfrom: (2961.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20071104185139-kaio3sneodg2kp71
Authentication ring implementation (read-only)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2058
2058
 
2059
2059
        http_transport = self.get_readonly_transport()
2060
2060
        medium = http_transport.get_smart_medium()
2061
 
        #remote_transport = RemoteTransport('fake_url', medium)
2062
 
        remote_transport = remote.RemoteTransport('/', medium=medium)
 
2061
        # Since we provide the medium, the url below will be mostly ignored
 
2062
        # during the test, as long as the path is '/'.
 
2063
        remote_transport = remote.RemoteTransport('bzr://fake_host/',
 
2064
                                                  medium=medium)
2063
2065
        self.assertEqual(
2064
2066
            [(0, "c")], list(remote_transport.readv("data-file", [(0,1)])))
2065
2067