File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
airbyte_cdk/test/standard_tests Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,18 @@ def test_discover(
6464 test_scenario = scenario ,
6565 )
6666
67- def test_spec (
68- self ,
69- # scenario: ConnectorTestScenario, # No inputs needed for spec test
70- ) -> None :
71- """Standard test for `spec`."""
67+ def test_spec (self ) -> None :
68+ """Standard test for `spec`.
69+
70+ This test does not require a `scenario` input, since `spec`
71+ does not require any inputs.
72+
73+ We assume `spec` should always succeed and it should always generate
74+ a valid `SPEC` message.
75+
76+ Note: the parsing of messages by type also implicitly validates that
77+ the generated `SPEC` message is valid JSON.
78+ """
7279 result = run_test_job (
7380 verb = "spec" ,
7481 test_scenario = None ,
You can’t perform that action at this time.
0 commit comments