def test_hooks_exceptions_raises_on_dict_hook_value(cd):
"""When a hook's base field is not the right type - args: dict in this case."""
cd('bad-hooks')
# with pytest.raises(exceptions.MalformedHookDefinitionException):
o = tackle('hook_1')
assert o # This should not happen
This should raise error