Homework for ReDI school backend course. This example shows how to use pytest for testing a simple function that converts a string representation of a time duration into seconds.
After cloning this repository, you can create a virtual environment and install dependencies like this:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Run the tests with:
pytest