/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/http_utils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-28 22:24:40 UTC
  • mfrom: (4659.1.3 test-speed)
  • Revision ID: pqm@pqm.ubuntu.com-20090828222440-jt2m0uvoy126e5kz
(robertc) Refactor server startup and cleanup registration in the
        test suite to reduce duplication. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        """Get the server instance for the secondary transport."""
134
134
        if self.__secondary_server is None:
135
135
            self.__secondary_server = self.create_transport_secondary_server()
136
 
            self.__secondary_server.setUp()
137
 
            self.addCleanup(self.__secondary_server.tearDown)
 
136
            self.start_server(self.__secondary_server)
138
137
        return self.__secondary_server
139
138
 
140
139