decorator icon indicating copy to clipboard operation
decorator copied to clipboard

Add __decorated_functions__ function to modules using the decorator

Open leggebroten opened this issue 1 year ago • 0 comments

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

leggebroten avatar Feb 09 '24 19:02 leggebroten