~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: mbp at sourcefrog
  • Date: 2006-11-21 01:08:52 UTC
  • mfrom: (2004.1.42 bzr.urllib.keepalive)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: mbp@sourcefrog.net-20061121010852-838b560632acc36c
merge urllib keepalive etc

Show diffs side-by-side

added added

removed removed

Lines of Context:
501
501
        self.assertEqual(t2.base[:-1], t.abspath('foo/bar'))
502
502
 
503
503
    def test_get_readonly_url_http(self):
 
504
        from bzrlib.tests.HttpServer import HttpServer
504
505
        from bzrlib.transport import get_transport
505
506
        from bzrlib.transport.local import LocalURLServer
506
 
        from bzrlib.transport.http import HttpServer, HttpTransportBase
 
507
        from bzrlib.transport.http import HttpTransportBase
507
508
        self.transport_server = LocalURLServer
508
509
        self.transport_readonly_server = HttpServer
509
510
        # calling get_readonly_transport() gives us a HTTP server instance.