Skip to content

Commit e423959

Browse files
committed
clean up imports
1 parent 2f1c666 commit e423959

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

airbyte_cdk/test/standard_tests/_job_runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
ConnectorSpecification,
1919
Status,
2020
)
21-
from airbyte_cdk.test import entrypoint_wrapper
21+
from airbyte_cdk.test.entrypoint_wrapper import EntrypointOutput, _run_command
2222
from airbyte_cdk.test.standard_tests.models import (
2323
ConnectorTestScenario,
2424
)
2525

2626

2727
def _errors_to_str(
28-
entrypoint_output: entrypoint_wrapper.EntrypointOutput,
28+
entrypoint_output: EntrypointOutput,
2929
) -> str:
3030
"""Convert errors from entrypoint output to a string."""
3131
if not entrypoint_output.errors:
@@ -65,7 +65,7 @@ def run_test_job(
6565
*,
6666
test_scenario: ConnectorTestScenario | None = None,
6767
catalog: ConfiguredAirbyteCatalog | dict[str, Any] | None = None,
68-
) -> entrypoint_wrapper.EntrypointOutput:
68+
) -> EntrypointOutput:
6969
"""Run a test scenario from provided CLI args and return the result."""
7070
# Use default (empty) scenario if not provided:
7171
test_scenario = test_scenario or ConnectorTestScenario()
@@ -120,7 +120,7 @@ def run_test_job(
120120
# This is a bit of a hack because the source needs the catalog early.
121121
# Because it *also* can fail, we have to redundantly wrap it in a try/except block.
122122

123-
result: entrypoint_wrapper.EntrypointOutput = entrypoint_wrapper._run_command( # noqa: SLF001 # Non-public API
123+
result: EntrypointOutput = _run_command( # noqa: SLF001 # Non-public API
124124
source=connector_obj, # type: ignore [arg-type]
125125
args=args,
126126
expecting_exception=test_scenario.expect_exception,

0 commit comments

Comments
 (0)