Loading topic
pytest tests, define basic Python classes and exceptions, call an LLM API, parse JSON, and pass dependencies into functions.1 min readpytest tests, pass dependencies into functions, and handle JSON replies from an LLM API. This chapter focuses on test data that is safe to store and easy to inspect.1 min read