pytest-mimesis
pytest-mimesis copied to clipboard
Mimesis integration with the pytest test runner. This plugin provider useful fixtures based on providers from Mimesis.
then this project can be a thin shim that just registers the entry point: ```toml [build-system] requires = ["flit_core >=2,= 4.2.0"] [tool.flit.entrypoints.pytest11] mimesis = "mimesis.pytest_plugin" ``` this is the approach...
We should use `pytest-randomly` as our default seed. There's an issue for this task https://github.com/lk-geimfari/mimesis/issues/469 Currently, it is impossible to provide a seed for all providers in a single place....
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: 1....
Imagine I have the following fixture: ```python @pytest.fixture(scope='function') def gitlab_merge_request(mimesis): return { 'user': { 'username': mimesis('username'), }, 'object_attributes': { 'id': mimesis('between', minimum=1), 'state': 'opened' }, } ``` What I want...
We use awesome https://dependabot.com to automatically update our dependencies. I am not sure that it still works after the repo transfer. This has to be checked and fixed if applicable.