Skip to content

Commit f3b6928

Browse files
Apply suggestion from @coderabbitai[bot]
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent f87c884 commit f3b6928

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

airbyte_cdk/test/standard_tests/connector_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,11 @@ def test_check(
131131
AirbyteConnectionStatus, result.connection_status_messages[0].connectionStatus
132132
)
133133
if (
134-
scenario.expect_exception
134+
scenario.expected_outcome.expect_exception()
135135
and conn_status.status == Status.SUCCEEDED
136136
and not result.errors
137137
):
138138
raise AssertionError(f"Expected error in `check` but got success.")
139-
140139
@classmethod
141140
def get_connector_root_dir(cls) -> Path:
142141
"""Get the root directory of the connector."""

0 commit comments

Comments
 (0)