blob: 523cc923cde4dcc62f3024f84200a782e6c98212 [file] [view]
# Python Conventions
## pytest
* **Fixture Registration via `pytest_plugins`**: When registering pytest helper
modules in test files, use `pytest_plugins = ["<module_path>"]`.
* **Fixture Naming Conventions**: Name fixture functions with a `fixture_` prefix
(e.g. `def fixture_foo():`), and pass the public fixture name using the `name`
parameter in `@pytest.fixture(name="foo")`.