This repository contains a small Python HTTP client, focused tests, a minimal bug fix, and a Docker setup for running the test suite in a CI-style environment.
- Create and activate a virtual environment.
- Install dependencies:
pip install -r requirements.txt- Run the test suite:
pytest -vBuild the image:
docker build -t ai-experts-assignment .Run the tests in the container:
docker run --rm ai-experts-assignmentThe container runs the test suite by default.
app/contains the HTTP client and token helpers.tests/contains focused regression tests for the client behavior.Explanation.mddocuments the bug, root cause, fix, and one uncovered edge case.