Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions airbyte_cdk/test/standard_tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ class TestSuiteSourcePokeAPI(standard_tests.DeclarativeSourceTestSuite):
airbyte-cdk connector test --pytest-arg=-Werror::airbyte_cdk.test.standard_tests.DiscoveredCatalogWarning
```

The spec tests lint the spec in the same way: problems found by spec lints that are not enforced
yet are reported as a `SpecLintWarning`, which `-W error::...SpecLintWarning` also turns into a
failure.

'''

from airbyte_cdk.test.models.scenario import ConnectorTestScenario
from airbyte_cdk.test.standard_tests._catalog_checks import DiscoveredCatalogWarning
from airbyte_cdk.test.standard_tests._spec_lint import SpecLintWarning
from airbyte_cdk.test.standard_tests.connector_base import ConnectorTestSuiteBase
from airbyte_cdk.test.standard_tests.declarative_sources import (
DeclarativeSourceTestSuite,
Expand All @@ -52,4 +57,5 @@ class TestSuiteSourcePokeAPI(standard_tests.DeclarativeSourceTestSuite):
"DestinationTestSuiteBase",
"DiscoveredCatalogWarning",
"SourceTestSuiteBase",
"SpecLintWarning",
]
Loading
Loading