~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_status.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:
140
140
    def test_constructor(self):
141
141
        """Check that creating a StatusHooks instance has the right defaults.
142
142
        """
143
 
        hooks = _mod_status.StatusHooks("bzrlib.tests.test_status", "TestHooks.hooks")
 
143
        hooks = _mod_status.StatusHooks()
144
144
        self.assertTrue("post_status" in hooks, "post_status not in %s" % hooks)
145
145
        self.assertTrue("pre_status" in hooks, "pre_status not in %s" % hooks)
146
146