def METHOD_NAME(temp_dir):
    os.makedirs(f'{temp_dir}/assets/dir')
    Path(f'{temp_dir}/assets/index.html').write_text('0123456789')
    Path(f'{temp_dir}/assets/dir/file').write_text('blah')
    client.test_path = f'/{os.path.relpath(Path(__file__))}'
    assert 'success' in client.conf(
        {
            "listeners": {"*:7080": {"pass": "routes"}},
            "routes": [{"action": {"share": f'{temp_dir}/assets$uri'}}],
        }
    )