~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2012-08-04 11:16:14 UTC
  • mto: This revision was merged to the branch mainline in revision 6553.
  • Revision ID: v.ladeuil+lp@free.fr-20120804111614-qvkz61424f4u1j0a
Use super() instead of calling <base>.setup(self), as the original fix illustrated a too-easy-to-fall-into trap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
    server_class = None
452
452
 
453
453
    def setUp(self):
454
 
        tests.TestCase.setUp(self)
 
454
        super(TestXMLRPCTransport, self).setUp()
455
455
        self.server = self.server_class()
456
456
        self.server.start_server()
457
457
        self.addCleanup(self.server.stop_server)