Skip to content

Commit a69c252

Browse files
fix: Update test imports to use legacy module location
Co-Authored-By: AJ Steers <[email protected]>
1 parent a1760e1 commit a69c252

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unit_tests/sources/declarative/test_manifest_declarative_source_dynamic_schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010

1111
from airbyte_cdk.models import AirbyteCatalog
12-
from airbyte_cdk.sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
12+
from airbyte_cdk.legacy.sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
1313
from airbyte_cdk.sources.utils.schema_helpers import check_config_against_spec_or_exit
1414

1515

@@ -74,7 +74,7 @@ def test_check_config_during_discover_without_dynamic_schema_loader():
7474

7575

7676
@patch(
77-
"airbyte_cdk.sources.declarative.manifest_declarative_source.ManifestDeclarativeSource.streams"
77+
"airbyte_cdk.legacy.sources.declarative.manifest_declarative_source.ManifestDeclarativeSource.streams"
7878
)
7979
def test_discover_with_dynamic_schema_loader_no_config(mock_streams):
8080
"""Test that discovery works without config when DynamicSchemaLoader is used."""
@@ -128,7 +128,7 @@ def test_discover_with_dynamic_schema_loader_no_config(mock_streams):
128128

129129

130130
@patch(
131-
"airbyte_cdk.sources.declarative.manifest_declarative_source.ManifestDeclarativeSource.streams"
131+
"airbyte_cdk.legacy.sources.declarative.manifest_declarative_source.ManifestDeclarativeSource.streams"
132132
)
133133
def test_discover_without_dynamic_schema_loader_no_config(mock_streams):
134134
"""Test that discovery validates config when DynamicSchemaLoader is not used."""

0 commit comments

Comments
 (0)