Skip to content

test: stabilize pytest suite and configure SQLite shared cache - #13

Open
Abivankenobi wants to merge 1 commit into
mainfrom
test-stabilization
Open

test: stabilize pytest suite and configure SQLite shared cache#13
Abivankenobi wants to merge 1 commit into
mainfrom
test-stabilization

Conversation

@Abivankenobi

Copy link
Copy Markdown
Collaborator

Summary of Changes

  • Configured a SQLite in-memory database with shared cache for concurrent tests
  • Resolved Pydantic schema validation failures by yielding ScrapedContent and UnSearchResponse instances
  • Configured ASGI ASGITransport for smoke, E2E, and integration tests to run hermetically in-process
  • Fixed trailing slash redirection (307) by enabling follow_redirects=True in HTTP clients
  • Mocked NLTK tokenizers to remove network downloads dependency

- Configured a SQLite in-memory database with shared cache for concurrent tests
- Resolved Pydantic schema validation failures by yielding ScrapedContent and UnSearchResponse instances
- Configured ASGI ASGITransport for smoke, E2E, and integration tests to run hermetically in-process
- Fixed trailing slash redirection (307) by enabling follow_redirects=True in HTTP clients
- Mocked NLTK tokenizers to remove network downloads dependency
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.

1 participant