Skip to content

Glossary: Microservices

tmp_path_factory.mktemp

Also written: tmp_path_factory, mktemp

A pytest helper that makes a new empty temporary folder for a whole test file. Orders' tests use it for a fresh database.

Where the book teaches it

Related terms

yield fixturepytest