Skip to content

Commit d631c34

Browse files
committed
tidy up
1 parent 91700ed commit d631c34

File tree

7 files changed

+7
-107
lines changed

7 files changed

+7
-107
lines changed

airbyte_cdk/cli/airbyte_cdk/_connector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def test(
182182
pytest_args.append("--collect-only")
183183

184184
if use_docker_image:
185+
click.echo(f"Using Docker-based test runner...")
185186
pytest_args.append("--use-docker-image")
186187
if isinstance(use_docker_image, str):
187188
pytest_args.append(

airbyte_cdk/cli/airbyte_cdk/_image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def image_cli_group() -> None:
4343
)
4444
def build(
4545
connector: str | None = None,
46-
connector_directory: Path | None = None,
4746
*,
4847
tag: str = "dev",
4948
no_verify: bool = False,

airbyte_cdk/test/standard_tests/connector_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def create_docker_connector(
156156
def test_check(
157157
self,
158158
scenario: ConnectorTestScenario,
159+
*,
159160
use_docker_image: str | bool,
160161
) -> None:
161162
"""Run `connection` acceptance tests."""

airbyte_cdk/test/standard_tests/declarative_sources.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def components_py_path(cls) -> Path | None:
6565
def create_connector(
6666
cls,
6767
scenario: ConnectorTestScenario,
68+
*,
6869
use_docker_image: str | bool,
6970
) -> IConnector:
7071
"""Create a connector scenario for the test suite.

airbyte_cdk/test/standard_tests/source_base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class SourceTestSuiteBase(ConnectorTestSuiteBase):
3232
def test_check(
3333
self,
3434
scenario: ConnectorTestScenario,
35+
*,
3536
use_docker_image: str | bool,
3637
) -> None:
3738
"""Run standard `check` tests on the connector.
@@ -60,6 +61,7 @@ def test_check(
6061
def test_discover(
6162
self,
6263
scenario: ConnectorTestScenario,
64+
*,
6365
use_docker_image: str | bool,
6466
) -> None:
6567
"""Standard test for `discover`."""
@@ -75,6 +77,7 @@ def test_discover(
7577
def test_basic_read(
7678
self,
7779
scenario: ConnectorTestScenario,
80+
*,
7881
use_docker_image: str | bool,
7982
) -> None:
8083
"""Run standard `read` test on the connector.
@@ -122,6 +125,7 @@ def test_basic_read(
122125
def test_fail_read_with_bad_catalog(
123126
self,
124127
scenario: ConnectorTestScenario,
128+
*,
125129
use_docker_image: str | bool,
126130
) -> None:
127131
"""Standard test for `read` when passed a bad catalog file."""

airbyte_cdk/utils/docker.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616

1717
from airbyte_cdk.models.connector_metadata import ConnectorLanguage, MetadataFile
1818
from airbyte_cdk.utils.connector_paths import resolve_airbyte_repo_root
19-
from airbyte_cdk.utils.docker_image_templates import (
20-
DOCKERIGNORE_TEMPLATE,
21-
MANIFEST_ONLY_DOCKERFILE_TEMPLATE,
22-
PYTHON_CONNECTOR_DOCKERFILE_TEMPLATE,
23-
)
2419

2520

2621
@dataclass(kw_only=True)

airbyte_cdk/utils/docker_image_templates.py

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)