Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
original function in decorator #144
Added a reference to the original function in the use_args decorator or unit testing purpose. Now, with these little changes, a user can import it's decorated function and still can unit test it's original function.
Should I had a small unit testing section in the docs ?
I could have added the Venusian library that is exactly for that purpose but it would have add a dependency to the project and it would have alter the decorators' behaviour a little. Tell me what you prefer.