~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2010-01-07 03:03:01 UTC
  • mto: This revision was merged to the branch mainline in revision 4943.
  • Revision ID: mbp@sourcefrog.net-20100107030301-a8r5ur1qsp2vukx5
Rename Server.setUp to Server.start_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1017
1017
        server's urls to be used.
1018
1018
        """
1019
1019
        if backing_server is None:
1020
 
            transport_server.setUp()
 
1020
            transport_server.start_server()
1021
1021
        else:
1022
 
            transport_server.setUp(backing_server)
 
1022
            transport_server.start_server(backing_server)
1023
1023
        self.addCleanup(transport_server.stop_server)
1024
1024
        # Obtain a real transport because if the server supplies a password, it
1025
1025
        # will be hidden from the base on the client side.