Skip to content

Commit

Permalink
Update airbyte_cdk/test/utils/manifest_only_fixtures.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
ChristoGrab and coderabbitai[bot] authored Dec 9, 2024
1 parent dbbeeb2 commit 763d247
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion airbyte_cdk/test/utils/manifest_only_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ def components_module(connector_dir: Path) -> Optional[ModuleType]:
@pytest.fixture(scope="session")
def manifest_path(connector_dir: Path) -> Path:
"""Return the path to the connector's manifest file."""
return connector_dir / "manifest.yaml"
path = connector_dir / "manifest.yaml"
if not path.exists():
raise FileNotFoundError(f"Manifest file not found at {path}")
return path

0 comments on commit 763d247

Please sign in to comment.