Test parsing file path with object specification.
(self, tmp_path)
| 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.""" |
| 67 | test_file = tmp_path / "server.py" |
| 68 | test_file.write_text("# test server") |
| 69 | |
| 70 | source = FileSystemSource(path=f"{test_file}:app") |
| 71 | assert Path(source.path).resolve() == test_file.resolve() |
| 72 | assert source.entrypoint == "app" |
| 73 | |
| 74 | def test_parse_complex_object(self, tmp_path): |
| 75 | """Test parsing file path with complex object specification.""" |
nothing calls this directly
no test coverage detected