Skip to content

Commit 6d6ca32

Browse files
devin-ai-integration[bot]bot_apk
andcommitted
fix: revert test scenarios to expect None since AirbyteTracedException is caught by check_connection
Co-Authored-By: bot_apk <apk@cognition.ai>
1 parent 31119b7 commit 6d6ca32

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

unit_tests/sources/file_based/scenarios/check_scenarios.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44

55
from airbyte_cdk.sources.file_based.exceptions import FileBasedSourceError
6-
from airbyte_cdk.utils.traced_exception import AirbyteTracedException
76
from unit_tests.sources.file_based.helpers import (
87
FailingSchemaValidationPolicy,
98
TestErrorListMatchingFilesInMemoryFilesStreamReader,
@@ -159,7 +158,7 @@
159158
)
160159
)
161160
)
162-
.set_expected_check_error(AirbyteTracedException, FileBasedSourceError.ERROR_READING_FILE.value)
161+
.set_expected_check_error(None, FileBasedSourceError.ERROR_READING_FILE.value)
163162
).build()
164163

165164

@@ -223,5 +222,5 @@
223222
],
224223
}
225224
)
226-
.set_expected_check_error(AirbyteTracedException, FileBasedSourceError.ERROR_READING_FILE.value)
225+
.set_expected_check_error(None, FileBasedSourceError.ERROR_READING_FILE.value)
227226
).build()

0 commit comments

Comments
 (0)