Skip to content

test: add coverage for lazy provider factory functions - #52

Merged
xfgong merged 1 commit into
mainfrom
test/providers-init-coverage
May 10, 2026
Merged

test: add coverage for lazy provider factory functions#52
xfgong merged 1 commit into
mainfrom
test/providers-init-coverage

Conversation

@xfgong

@xfgong xfgong commented May 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds tests/providers/test_init.py with tests for the three lazy provider factory functions in cubepi/providers/__init__.py
  • Covers get_anthropic_provider(), get_openai_provider(), and get_openai_responses_provider()
  • Improves coverage of providers/__init__.py from 54%

Test plan

  • All 302 tests pass (pytest tests/ -q)
  • Ruff check clean (ruff check cubepi/ tests/)
  • Ruff format clean (ruff format --check cubepi/ tests/)

Closes #46

@xfgong
xfgong merged commit b25975f into main May 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test coverage: providers/__init__.py lazy provider factories

1 participant