ChatGPT Mocker Showcase on how to mock the OpenAI API in Python using the pytest_mock library. Setup After forking the repository, setup all necessary requirements and pre-commit hooks locally: poetry install poetry run pre-commit install