mock_decorator¶
-
privex.helpers.decorators.
mock_decorator
(*dec_args, **dec_kwargs)[source]¶ This decorator is a pass-through decorator which does nothing other than be a decorator.
It’s designed to be used with the
privex.helpers.common.Mocker
class when mocking classes/modules, allowing you to add fake decorators to the mock class/method which do nothing, other than act like a decorator without breaking your functions/methods.