Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 446 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 446 Bytes

string-to-seconds

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.

Develop

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