Skip to content

Commit

Permalink
openai[patch]: add test coverage to output (langchain-ai#19462)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored and Dave Bechberger committed Mar 29, 2024
1 parent 4ea6f83 commit d9acda0
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 2 deletions.
87 changes: 86 additions & 1 deletion libs/partners/openai/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion libs/partners/openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ syrupy = "^4.0.2"
pytest-watcher = "^0.3.4"
pytest-asyncio = "^0.21.1"
langchain-core = { path = "../../core", develop = true }
pytest-cov = "^4.1.0"

[tool.poetry.group.codespell]
optional = true
Expand Down Expand Up @@ -89,7 +90,7 @@ build-backend = "poetry.core.masonry.api"
#
# https://github.com/tophat/syrupy
# --snapshot-warn-unused Prints a warning on unused snapshots rather than fail the test suite.
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5 --cov=langchain_openai"
# Registering custom markers.
# https://docs.pytest.org/en/7.1.x/example/markers.html#registering-markers
markers = [
Expand Down

0 comments on commit d9acda0

Please sign in to comment.