REA conftest.py notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

conftest.py pins pytest shared-fixture identity. In REA 6.7.x, treat selected fixtures/hooks as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the conftest.py (+ artifacts you hold).
  2. Quote selected fixture names / hooks you actually see (never paste secrets / tokens / env credentials).
  3. Cousins → pytest-ini · tox-ini · noxfile-py.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a inspect_conftest API REA never called.

Minimal path

# authorized conftest.py (+ artifact you hold)
# quote selected fixture/hook names into case notes
# cousins → pytest-ini / tox-ini / noxfile-py
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_conftest .

Compare

ArtifactHonest posture
conftest.pypytest shared-fixture identity facts
pytest.ini lanerea-pytest-ini
tox.ini lanerea-tox-ini
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_conftest / automatic pytest runs against foreign trees.
  • No credential theft from env / tokens / repository credentials in fixtures.
  • No pirate redistribution of paid packages.
  • No crack framing via fixture pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-pytest-ini?

rea-pytest-ini covers pytest.ini Evidence. This page zooms on conftest.py fixture identity — it does not overwrite that page.

Is there inspect_conftest in 6.7.0?

Not assumed. Quote fixtures/hooks you actually open. Do not invent inspect_conftest.

Does REA run pytest for you?

No. Local trees only. No credential theft from fixture env overrides.

conftest.py vs pytest.ini vs tox.ini?

Label Evidence by the file present. Quote fixtures / addopts / envlist you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources