Test parsing simple file path without object.
(self, tmp_path)
| 54 | """Test FileSystemSource path parsing functionality.""" |
| 55 | |
| 56 | def test_parse_simple_path(self, tmp_path): |
| 57 | """Test parsing simple file path without object.""" |
| 58 | test_file = tmp_path / "server.py" |
| 59 | test_file.write_text("# test server") |
| 60 | |
| 61 | source = FileSystemSource(path=str(test_file)) |
| 62 | assert Path(source.path).resolve() == test_file.resolve() |
| 63 | assert source.entrypoint is None |
| 64 | |
| 65 | def test_parse_path_with_object(self, tmp_path): |
| 66 | """Test parsing file path with object specification.""" |
nothing calls this directly
no test coverage detected