File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ jsonschema = ">=4.23"
8282
8383[tool .poetry .plugins ."pytest11" ]
8484conductor-agents-testing = " conductor.ai.agents.testing.pytest_plugin"
85- agentspan-testing = " conductor.ai.agents.testing.pytest_plugin"
8685
8786[tool .ruff ]
8887target-version = " py310"
Original file line number Diff line number Diff line change 1+ """Ensure pytest auto-loads the Conductor-agent plugin exactly once."""
2+
3+ from __future__ import annotations
4+
5+ import tomllib
6+ from pathlib import Path
7+
8+
9+ ROOT = Path (__file__ ).resolve ().parents [2 ]
10+
11+
12+ def test_agent_pytest_plugin_has_one_canonical_entry_point ():
13+ pyproject = tomllib .loads ((ROOT / "pyproject.toml" ).read_text ())
14+ plugins = pyproject ["tool" ]["poetry" ]["plugins" ]["pytest11" ]
15+ assert plugins == {
16+ "conductor-agents-testing" : "conductor.ai.agents.testing.pytest_plugin"
17+ }
You can’t perform that action at this time.
0 commit comments