Skip to content

Commit 0cd96d4

Browse files
committed
fix
1 parent bb0e83d commit 0cd96d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python_files/tests/unittestadapter/test_discovery.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ def test_symlink_with_project_root_path() -> None:
436436
f"CWD does not match symlink path: expected {os.fsdecode(destination)}, got {actual['cwd']}"
437437
)
438438
assert "tests" in actual
439+
assert actual["tests"] is not None
439440
# The test tree root should be named after the symlink directory
440441
assert actual["tests"]["name"] == "symlink_unittest", (
441442
f"Expected root name 'symlink_unittest', got '{actual['tests']['name']}'"

0 commit comments

Comments
 (0)