~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-10 07:43:02 UTC
  • mfrom: (2400.1.9 split-smart-part-1-rename)
  • Revision ID: pqm@pqm.ubuntu.com-20070410074302-cf6b95587a1058cd
(Andrew Bennetts) Split bzrlib/transport/smart.py into several smaller modules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1162
1162
        """The bzrlib hooks should be sanitised by setUp."""
1163
1163
        self.assertEqual(bzrlib.branch.BranchHooks(),
1164
1164
            bzrlib.branch.Branch.hooks)
1165
 
        self.assertEqual(bzrlib.transport.smart.SmartServerHooks(),
1166
 
            bzrlib.transport.smart.SmartTCPServer.hooks)
 
1165
        self.assertEqual(bzrlib.smart.server.SmartServerHooks(),
 
1166
            bzrlib.smart.server.SmartTCPServer.hooks)
1167
1167
 
1168
1168
    def test__gather_lsprof_in_benchmarks(self):
1169
1169
        """When _gather_lsprof_in_benchmarks is on, accumulate profile data.