Skip to content

Commit bc756a3

Browse files
committed
fixes
1 parent 9d742e8 commit bc756a3

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jsonschema = ">=4.23"
8282

8383
[tool.poetry.plugins."pytest11"]
8484
conductor-agents-testing = "conductor.ai.agents.testing.pytest_plugin"
85-
agentspan-testing = "conductor.ai.agents.testing.pytest_plugin"
8685

8786
[tool.ruff]
8887
target-version = "py310"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
}

0 commit comments

Comments
 (0)