Skip to content

goShell3/eskalate-python-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Experts Assignment Solution

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.

Run tests locally

  1. Create and activate a virtual environment.
  2. Install dependencies:
pip install -r requirements.txt
  1. Run the test suite:
pytest -v

Build and run with Docker

Build the image:

docker build -t ai-experts-assignment .

Run the tests in the container:

docker run --rm ai-experts-assignment

The container runs the test suite by default.

Project structure

  • app/ contains the HTTP client and token helpers.
  • tests/ contains focused regression tests for the client behavior.
  • Explanation.md documents the bug, root cause, fix, and one uncovered edge case.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors