Skip to content

Commit

Permalink
skip if no creds
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Jan 13, 2025
1 parent a19b5c1 commit c837745
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from tempfile import NamedTemporaryFile
from typing import Any

import pytest
import yaml
from airbyte_protocol_dataclasses.models.airbyte_protocol import AirbyteCatalog

Expand Down Expand Up @@ -85,6 +86,10 @@ def get_py_components_config_dict() -> dict[str, Any]:
return combined_config_dict


@pytest.mark.skipif(
condition=not Path(get_fixture_path("resources/source_the_guardian_api/secrets.yaml")).exists(),
reason="Skipped due to missing 'secrets.yaml'.",
)
def test_given_injected_declarative_manifest_and_py_components() -> None:
py_components_config_dict = get_py_components_config_dict()
# Truncate the start_date to speed up tests
Expand Down

0 comments on commit c837745

Please sign in to comment.