pytest-mimesis
pytest-mimesis copied to clipboard
Allow adding custom providers
I suggest to support a fixture something like mimesis_custom_providers, that should return a list of providers to register.
We need to properly scope this fixture, so it would be:
- fast enough (not
functionscope), since adding providers might be kind of expensive - configurable, so different module could have different providers