py.test plugin to make session fixtures behave as if written in conftest, even if it is written in some modules
Project description
# pytest-session-fixture-globalize
pytest-forcefail is a plugin to make scope=’session’ fixtures behave as if written in conftest.py.
See test_session_fixture_globalize.py for example.
Unlike usual plugin, this touches the deep area of _pytest.fixtures.FixtureManager. You have to enable this plugin explicitly by –session-fixture-globalize option or PYTEST_SESSION_FIXTURE_GLOBALIZE env.
Binary distribution: https://pypi.org/project/pytest-session-fixture-globalize/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pytest-session-fixture-globalize-0.0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7aaebe26c0178680b96b2b093bd6c539bfed5526439a0f00bb61646d3d90ee |
|
MD5 | ac106c5807ce57e66ed7ae992be114a9 |
|
BLAKE2b-256 | 3cfa4e7cb4e39231c040bd7ad3dfe8c268d16c275396487c854728120a950719 |