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
File details
Details for the file pytest-session-fixture-globalize-0.0.0.3.tar.gz
.
File metadata
- Download URL: pytest-session-fixture-globalize-0.0.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1fdfceb5944d55076243987f0d882f714d1aea07682ebfff3a6af1d6b272b01 |
|
MD5 | 8bd16c434dd3ceff72ad787acaf7edc2 |
|
BLAKE2b-256 | 6204f3c123d32de013d57e69bda3b63412b465b7f44b4ea16b8bf9337b86b632 |