~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_mutabletree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-30 11:45:54 UTC
  • mto: (5622.4.1 uninstall-hook)
  • mto: This revision was merged to the branch mainline in revision 5747.
  • Revision ID: jelmer@samba.org-20110330114554-zx7av89umf2dd9an
Don't require arguments to hooks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    def test_constructor(self):
31
31
        """Check that creating a MutableTreeHooks instance has the right
32
32
        defaults."""
33
 
        hooks = mutabletree.MutableTreeHooks(
34
 
            "bzrlib.tests.mutable_tree", "MutableTree.hooks")
 
33
        hooks = mutabletree.MutableTreeHooks()
35
34
        self.assertTrue("start_commit" in hooks,
36
35
                        "start_commit not in %s" % hooks)
37
36
        self.assertTrue("post_commit" in hooks,