Skip to content

Minimal implementation of a working background task test using fastapi, pytest and backgroundTasks.

License

Notifications You must be signed in to change notification settings

44ai-labs/fastapi-pytest-background-task

Repository files navigation

FastAPI Background Task Test with Pytest

This is a simple test of FastAPI background tasks with Pytest.

Setup

Using conda.

conda create python=3.11 --prefix /scratch/janniss/conda/background
conda activate /scratch/janniss/conda/background
pip install uv
uv pip install -r requirements.txt

Run tests

make test

About

Minimal implementation of a working background task test using fastapi, pytest and backgroundTasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published