~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_http.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-11 10:01:21 UTC
  • mfrom: (5029.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100211100121-dqc7ja698m73k3tu
(vila) Move tests servers from bzrlib.transport to
        bzrlib.tests.test_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    branch,
21
21
    errors,
22
22
    )
23
 
from bzrlib.tests import per_branch
24
 
from bzrlib.transport import (
25
 
    chroot,
26
 
    local,
 
23
from bzrlib.tests import (
 
24
    per_branch,
 
25
    test_server,
27
26
    )
28
27
 
29
28
 
38
37
 
39
38
    def setUp(self):
40
39
        super(InaccessibleParentTests, self).setUp()
41
 
        if self.transport_server in (local.LocalURLServer, None):
42
 
            self.transport_readonly_server = chroot.TestingChrootServer
 
40
        if self.transport_server in (test_server.LocalURLServer, None):
 
41
            self.transport_readonly_server = test_server.TestingChrootServer
43
42
 
44
43
    def get_branch_with_invalid_parent(self):
45
44
        """Get a branch whose get_parent will raise InaccessibleParent."""