@pytest.fixture
def cassette(tmpdir):
    cassette_path = str(tmpdir.join('test.yml'))
    with vcr.use_cassette(cassette_path, record_mode='all'):
        urlopen(DEFAULT_URI)
    return cassette_path
Helper fixture used to prepare the cassete
dataset/ETHPy150Open kevin1024/vcrpy/tests/integration/test_matchers.py/cassette