Skip to content

Commit ee984ee

Browse files
ChengaDevclaude
andcommitted
fix: add pytest-asyncio and set asyncio_mode=auto
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a0cc175 commit ee984ee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ build = ["pyinstaller>=6.0"]
2424
openai = ["langchain-openai>=0.2.0"]
2525
google = ["langchain-google-genai>=2.0.0"]
2626
all-providers = ["langchain-openai>=0.2.0", "langchain-google-genai>=2.0.0"]
27-
dev = ["pytest>=8.0", "respx>=0.21"]
27+
dev = ["pytest>=8.0", "pytest-asyncio>=0.24", "respx>=0.21"]
2828

2929
[project.scripts]
3030
opsagent = "cli:main"
3131

32+
[tool.pytest.ini_options]
33+
asyncio_mode = "auto"
34+
3235
[tool.hatch.build.targets.wheel]
3336
packages = ["."]

0 commit comments

Comments
 (0)