File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed
airbyte_cdk/test/standard_tests Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 1010from pathlib import Path
1111from typing import cast
1212
13- import pytest
1413import yaml
1514from boltons .typeutils import classproperty
1615
Original file line number Diff line number Diff line change @@ -53,6 +53,17 @@ def test_check(
5353 + "\n " .join ([str (m ) for m in result ._messages ])
5454 )
5555
56+ def test_discover (
57+ self ,
58+ scenario : ConnectorTestScenario ,
59+ ) -> None :
60+ """Standard test for `discover`."""
61+ run_test_job (
62+ self .create_connector (scenario ),
63+ "discover" ,
64+ test_scenario = scenario ,
65+ )
66+
5667 def test_basic_read (
5768 self ,
5869 scenario : ConnectorTestScenario ,
@@ -127,14 +138,3 @@ def test_fail_read_with_bad_catalog(
127138 )
128139 assert result .errors , "Expected errors but got none."
129140 assert result .trace_messages , "Expected trace messages but got none."
130-
131- def test_discover (
132- self ,
133- scenario : ConnectorTestScenario ,
134- ) -> None :
135- """Standard test for `discover`."""
136- run_test_job (
137- self .create_connector (scenario ),
138- "discover" ,
139- test_scenario = scenario ,
140- )
You can’t perform that action at this time.
0 commit comments