We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfaf62f commit b1cd8afCopy full SHA for b1cd8af
airbyte_cdk/test/standard_tests/source_base.py
@@ -146,10 +146,9 @@ def test_basic_read(
146
connector_root=self.get_connector_root_dir(),
147
catalog=configured_catalog,
148
)
149
- if scenario.expect_exception and not result.errors:
+ if scenario.expected_outcome.expect_exception() and not result.errors:
150
# By now we should have raised an exception.
151
raise AssertionError("Expected an error but got none.")
152
-
153
if scenario.expected_outcome.expect_success() and not result.records:
154
raise AssertionError("Expected records but got none.")
155
0 commit comments