~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-20 12:37:24 UTC
  • mfrom: (5340.13.1 2.4-613247-cleanup-tests)
  • Revision ID: pqm@pqm.ubuntu.com-20110520123724-hamrkqa9gtyazxyl
(jameinel) Cleanup the log infrastructure to reduce the chance of
 self-cycles. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        # the default or a parameterized class, but rather use the
100
100
        # TestCaseWithTransport infrastructure to set up a smart server and
101
101
        # transport.
102
 
        self.overrideAttr(self, "transport_server", self.make_transport_server)
 
102
        self.transport_server = self.make_transport_server
103
103
 
104
104
    def make_transport_server(self):
105
105
        return test_server.SmartTCPServer_for_testing('-' + self.id())