~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-04 18:21:04 UTC
  • mfrom: (6468.4.3 509275-lp-fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20120304182104-8y1tdavoblrrhflc
(jelmer) Add --link-bug option to 'bzr lp-propose'. (Ross Lagerwall)

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
import bzrlib
33
33
from bzrlib import (
 
34
    bzrdir,
34
35
    config,
35
 
    controldir,
36
36
    debug,
37
37
    errors,
38
38
    osutils,
1911
1911
        server._url_protocol = self._url_protocol
1912
1912
        return server
1913
1913
 
1914
 
    def test_open_controldir(self):
 
1914
    def test_open_bzrdir(self):
1915
1915
        branch = self.make_branch('relpath')
1916
1916
        url = self.http_server.get_url() + 'relpath'
1917
 
        bd = controldir.ControlDir.open(url)
 
1917
        bd = bzrdir.BzrDir.open(url)
1918
1918
        self.addCleanup(bd.transport.disconnect)
1919
1919
        self.assertIsInstance(bd, _mod_remote.RemoteBzrDir)
1920
1920