Edit file File name : conftest.py Content :""" PyTest Fixtures. """ import pytest from cement import fs @pytest.fixture(scope="function") def tmp(request): """ Create a `tmp` object that geneates a unique temporary directory, and file for each test function that requires it. """ t = fs.Tmp() yield t t.remove() Save