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 345b3d2 commit 72e73ecCopy full SHA for 72e73ec
airbyte_cdk/test/standard_tests/source_base.py
@@ -81,11 +81,8 @@ def test_spec(self) -> None:
81
test_scenario=None,
82
connector=self.create_connector(scenario=None),
83
)
84
- if result.errors:
85
- raise AssertionError(
86
- f"Expected no errors but got {len(result.errors)}: \n"
87
- + "\n".join([str(e) for e in result.errors])
88
- )
+ # If an error occurs, it will be raised above.
+
89
assert len(result.spec_messages) == 1, (
90
"Expected exactly 1 spec message but got {len(result.spec_messages)}",
91
result.errors,
0 commit comments