decorator
decorator copied to clipboard
Add __decorated_functions__ function to modules using the decorator
Adds "hidden" __decorated_functions__ function to modules that use the @decorate function.
The new function allows unit tests to assert the decoration was properly called, thereby avoiding the need to assert that the behavior invoked by the @decorate call was done, and not have to assert the decorated functionality