File tree Expand file tree Collapse file tree 7 files changed +7
-107
lines changed
Expand file tree Collapse file tree 7 files changed +7
-107
lines changed Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ def image_cli_group() -> None:
4343)
4444def build (
4545 connector : str | None = None ,
46- connector_directory : Path | None = None ,
4746 * ,
4847 tag : str = "dev" ,
4948 no_verify : bool = False ,
Original file line number Diff line number Diff 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."""
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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."""
Original file line number Diff line number Diff line change 1616
1717from airbyte_cdk .models .connector_metadata import ConnectorLanguage , MetadataFile
1818from 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 )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments