~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/test_lp_directory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-08 03:35:09 UTC
  • mfrom: (4934.3.4 cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20100108033509-5dp440ermqsavlhr
(mbp) rename Server.setUp and tearDown to start_server and stop_server

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
    def setUp(self):
275
275
        tests.TestCase.setUp(self)
276
276
        self.server = self.server_class()
277
 
        self.server.setUp()
 
277
        self.server.start_server()
278
278
        # Ensure we don't clobber env
279
279
        self._captureVar('BZR_LP_XMLRPC_URL', None)
280
280
 
281
281
    def tearDown(self):
282
 
        self.server.tearDown()
 
282
        self.server.stop_server()
283
283
        tests.TestCase.tearDown(self)
284
284
 
285
285
    def set_canned_response(self, server, path):