Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible for register to use factory docstring #93

Open
michaeloliverx opened this issue Aug 3, 2020 · 0 comments
Open

Possible for register to use factory docstring #93

michaeloliverx opened this issue Aug 3, 2020 · 0 comments

Comments

@michaeloliverx
Copy link

Using the convenience register method to register fixtures does not import the docstring. Running pytest --fixtures results in no docstring available for all pytest-factoryboy fixtures.
It would be nice to include a docstring arg to the register method e.g

register(UserFactory, _name="special_user", _docstring="Useful sentence describing this fixture")

Thanks for the library it is very handy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant