/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Robert Collins
  • Date: 2009-02-11 22:25:18 UTC
  • mfrom: (4000.1.1 extend_command)
  • mto: This revision was merged to the branch mainline in revision 4004.
  • Revision ID: robertc@robertcollins.net-20090211222518-32dloushiwrnzurr
Merge command extension support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1445
1445
 
1446
1446
    def test_hooks_sanitised(self):
1447
1447
        """The bzrlib hooks should be sanitised by setUp."""
 
1448
        # Note this test won't fail with hooks that the core library doesn't
 
1449
        # use - but it trigger with a plugin that adds hooks, so its still a
 
1450
        # useful warning in that case.
1448
1451
        self.assertEqual(bzrlib.branch.BranchHooks(),
1449
1452
            bzrlib.branch.Branch.hooks)
1450
1453
        self.assertEqual(bzrlib.smart.server.SmartServerHooks(),
1451
1454
            bzrlib.smart.server.SmartTCPServer.hooks)
 
1455
        self.assertEqual(bzrlib.commands.CommandHooks(),
 
1456
            bzrlib.commands.Command.hooks)
1452
1457
 
1453
1458
    def test__gather_lsprof_in_benchmarks(self):
1454
1459
        """When _gather_lsprof_in_benchmarks is on, accumulate profile data.