authlib
authlib copied to clipboard
authlib testing framework for external usage
Is your feature request related to a problem? Please describe.
In a project that uses authlib, I want to write tests without having to re-invent all the setup that authlib has for its own unit testing.
Describe the solution you'd like
In a project that uses authlib, I would like to reuse some of the features within authlib's "test" directory for my own tests. It would be nice if I could import the Python modules, and also have a way to reuse the included resource files. Maybe that latter part could be done using importlib.resources for Python 3.9 or later, and the backported importlib_resources for older versions of Python.
https://importlib-resources.readthedocs.io/en/latest/
Describe alternatives you've considered
Create a separate and duplicative tooling to create fixtures and factories for use in testing my project that uses authlib.
Additional context
Add any other context or screenshots about the feature request here.
I don't think I can provide this data for now. Because I'm thinking of refactoring all the tests in the future.