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 beb96e4 commit 1c9dc2eCopy full SHA for 1c9dc2e
airbyte_cdk/test/standard_tests/source_base.py
@@ -130,8 +130,8 @@ def test_basic_read(
130
catalog=configured_catalog,
131
)
132
133
- if not result.records:
134
- raise AssertionError("Expected records but got none.") # noqa: TRY003
+ if scenario.expected_outcome.expect_success() and not result.records:
+ raise AssertionError("Expected records but got none.")
135
136
def test_fail_read_with_bad_catalog(
137
self,
0 commit comments