Skip to content

Commit 4555bd5

Browse files
devin-ai-integration[bot]bot_apk
andcommitted
fix: update resumable full refresh test for HTTP 400 config_error reclassification
Co-Authored-By: bot_apk <apk@cognition.ai>
1 parent a6944a0 commit 4555bd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unit_tests/sources/mock_server_tests/test_resumable_full_refresh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,6 @@ def test_resumable_full_refresh_failure(self, http_mocker):
370370
page=2
371371
)
372372

373-
assert actual_messages.errors[0].trace.error.failure_type == FailureType.system_error
373+
assert actual_messages.errors[0].trace.error.failure_type == FailureType.config_error
374374
assert actual_messages.errors[0].trace.error.stream_descriptor.name == "justice_songs"
375-
assert "Bad request" in actual_messages.errors[0].trace.error.message
375+
assert "400" in actual_messages.errors[0].trace.error.message

0 commit comments

Comments
 (0)