Skip to content

Commit 763d247

Browse files
Update airbyte_cdk/test/utils/manifest_only_fixtures.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent dbbeeb2 commit 763d247

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

airbyte_cdk/test/utils/manifest_only_fixtures.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,7 @@ def components_module(connector_dir: Path) -> Optional[ModuleType]:
5454
@pytest.fixture(scope="session")
5555
def manifest_path(connector_dir: Path) -> Path:
5656
"""Return the path to the connector's manifest file."""
57-
return connector_dir / "manifest.yaml"
57+
path = connector_dir / "manifest.yaml"
58+
if not path.exists():
59+
raise FileNotFoundError(f"Manifest file not found at {path}")
60+
return path

0 commit comments

Comments
 (0)