We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1931a3 commit 79bb94fCopy full SHA for 79bb94f
pythonFiles/vscode_pytest/__init__.py
@@ -399,9 +399,10 @@ def create_session_node(session: pytest.Session) -> TestNode:
399
Keyword arguments:
400
session -- the pytest session.
401
"""
402
+ session_path = session.path if session.path else pathlib.Path.cwd()
403
return {
404
"name": session.name,
- "path": session.path,
405
+ "path": session_path,
406
"type_": "folder",
407
"children": [],
408
"id_": os.fspath(session.path),
0 commit comments