Skip to content

Add unit tests for embedding_service and retrieval_service #39

Merged
AJaccP merged 3 commits into
mainfrom
test-retrieval-services
Jul 26, 2026
Merged

Add unit tests for embedding_service and retrieval_service #39
AJaccP merged 3 commits into
mainfrom
test-retrieval-services

Conversation

@SarahAdnan7

Copy link
Copy Markdown
Contributor

closes #15

Adds unit tests for embedding_service and retrieval_service using mocks (no Ollama/Docker required for these tests). make test and make lint both pass.

@AJaccP AJaccP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests look good! Looks like the initial CI failure was because this branch and main each added pytest-cov to uv.lock independently, in different parts of the file. Git merged both in without a conflict, so the merged lock ended up with two coverage entries and uv couldn't parse it.

Fixed by merging main and taking main's uv.lock, since pyproject.toml is now identical to main's either way.

@AJaccP
AJaccP merged commit 2ab27df into main Jul 26, 2026
2 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.

Add retrieval layer tests

2 participants