~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2010-02-09 20:28:26 UTC
  • mto: (5029.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5030.
  • Revision ID: v.ladeuil+lp@free.fr-20100209202826-0u7aj2x51uzm79pv
Move SmartTCPServer_for_testing and friends to bzrlib.tests.test_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1044
1044
        if t.base.endswith('/work/'):
1045
1045
            # we have safety net/test root/work
1046
1046
            t = t.clone('../..')
1047
 
        elif isinstance(transport_server, server.SmartTCPServer_for_testing):
 
1047
        elif isinstance(transport_server,
 
1048
                        test_server.SmartTCPServer_for_testing):
1048
1049
            # The smart server adds a path similar to work, which is traversed
1049
1050
            # up from by the client. But the server is chrooted - the actual
1050
1051
            # backing transport is not escaped from, and VFS requests to the