def METHOD_NAME(path, path2):
    script_path = f'{option.test_dir}/python/empty'
    assert 'success' in client.conf(
        {
            "listeners": {
                "*:7080": {"pass": "applications/one"},
                "*:7081": {"pass": "applications/two"},
            },
            "applications": {
                "one": {
                    "type": "python",
                    "processes": 1,
                    "path": script_path,
                    "working_directory": script_path,
                    "module": "wsgi",
                    "isolation": {
                        'cgroup': {'path': path},
                    },
                },
                "two": {
                    "type": "python",
                    "processes": 1,
                    "path": script_path,
                    "working_directory": script_path,
                    "module": "wsgi",
                    "isolation": {
                        'cgroup': {'path': path2},
                    },
                },
            },
        }
    )