@pytest.fixture(scope='function')
def data():
    tmpdir = py.test.ensuretemp('tests/data')
    for filename in test_files:
        shutil.copy(filename, str(tmpdir))
    return tmpdir
A temporary directory containing a copy of the files in data.
dataset/ETHPy150Open mapbox/rio-mbtiles/tests/conftest.py/data