~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-08-30 07:47:38 UTC
  • mfrom: (5394.2.1 integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20100830074738-ymqwum541fi8b4sr
(vila) Fix most of the leaking tests (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
329
329
 
330
330
    def setUp(self):
331
331
        # Skip some scenarios that don't apply to these tests.
332
 
        if (self.transport_server is not None and
333
 
            issubclass(self.transport_server, server.SmartTCPServer)):
 
332
        if (self.transport_server is not None
 
333
            and issubclass(self.transport_server,
 
334
                           test_server.SmartTCPServer_for_testing)):
334
335
            raise tests.TestNotApplicable(
335
336
                'Does not apply when remote backing branch is also '
336
337
                'a smart branch')