============================= test session starts ============================= platform win32 -- Python 3.11.6, pytest-9.0.2, pluggy-1.6.0 rootdir: C:\projects\manual_slop configfile: pyproject.toml plugins: anyio-4.12.1 collected 8 items tests\test_headless_api.py ....F... [100%] ================================== FAILURES =================================== _________________ TestHeadlessAPI.test_list_sessions_endpoint _________________ self = def test_list_sessions_endpoint(self): # Ensure logs directory exists > Path("logs").mkdir(exist_ok=True) ^^^^ E NameError: name 'Path' is not defined tests\test_headless_api.py:86: NameError =========================== short test summary info =========================== FAILED tests/test_headless_api.py::TestHeadlessAPI::test_list_sessions_endpoint ========================= 1 failed, 7 passed in 1.28s =========================