1343
1343
def test_post_repo_init(self):
1344
1344
from bzrlib.bzrdir import RepoInitHookParams
1346
bzrdir.BzrDir.hooks.install_named_hook('post_repo_init', lambda params, c=calls: c.append(params), None)
1347
1348
self.make_repository('foo')
1348
1349
self.assertLength(1, calls)