File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717class TestVerifierPathHandling :
1818 """Test path handling in verifier.py for test files outside tests_root."""
1919
20- def test_module_name_from_file_path_raises_valueerror_when_outside_root (self ):
20+ def test_module_name_from_file_path_raises_valueerror_when_outside_root (self ) -> None :
2121 """Verify that module_name_from_file_path raises ValueError when file is outside root.
2222
2323 This is the current behavior that causes the bug in verifier.py line 37.
@@ -34,7 +34,7 @@ def test_module_name_from_file_path_raises_valueerror_when_outside_root(self):
3434 with pytest .raises (ValueError , match = "is not within the project root" ):
3535 module_name_from_file_path (test_path , tests_root )
3636
37- def test_module_name_from_file_path_with_fallback_succeeds (self ):
37+ def test_module_name_from_file_path_with_fallback_succeeds (self ) -> None :
3838 """Test that adding a fallback (try-except) allows graceful handling.
3939
4040 This is the pattern used in javascript/parse.py:330-333 that should
You can’t perform that action at this time.
0 commit comments