diff --git a/tests/test_plugin_HookRegistry.py b/tests/test_plugin_HookRegistry.py index b7fd0b9521b6c461d0726c840e5203f0d2378bd3..6d899873a19af00d09e4a776c3a353f18653ff40 100644 --- a/tests/test_plugin_HookRegistry.py +++ b/tests/test_plugin_HookRegistry.py @@ -31,19 +31,19 @@ def test_default_registrations(): assert 'MetaTaxImplication' in post_hook_names def test_exclude_single(): - hooks = plugin.HOOK_REGISTRY.group_by_directive('-expenseAllocation') + hooks = plugin.HOOK_REGISTRY.group_by_directive('-expense-allocation') post_hook_names = hook_names(hooks, 'Posting') assert post_hook_names assert 'MetaExpenseAllocation' not in post_hook_names def test_exclude_group_then_include_single(): - hooks = plugin.HOOK_REGISTRY.group_by_directive('-metadata expenseAllocation') + hooks = plugin.HOOK_REGISTRY.group_by_directive('-metadata expense-allocation') post_hook_names = hook_names(hooks, 'Posting') assert 'MetaExpenseAllocation' in post_hook_names assert 'MetaTaxImplication' not in post_hook_names def test_include_group_then_exclude_single(): - hooks = plugin.HOOK_REGISTRY.group_by_directive('metadata -taxImplication') + hooks = plugin.HOOK_REGISTRY.group_by_directive('metadata -tax-implication') post_hook_names = hook_names(hooks, 'Posting') assert 'MetaExpenseAllocation' in post_hook_names assert 'MetaTaxImplication' not in post_hook_names