Skip to content

Commit 88c143d

Browse files
committed
update tests
1 parent 1b08be7 commit 88c143d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_grobid_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def test_process_pdf_file_not_found(self, mock_file):
315315
segment_sentences=False
316316
)
317317

318-
assert result[1] == 500
318+
assert result[1] == 400
319319
assert 'Failed to open file' in result[2]
320320

321321
@patch('builtins.open', new_callable=mock_open, read_data='Reference 1\nReference 2\n')

tests/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_error_handling_and_recovery(self):
199199
False, False, False, False, False, False, False
200200
)
201201

202-
assert result[1] == 500
202+
assert result[1] == 400
203203
assert 'Failed to open file' in result[2]
204204

205205
def test_different_file_types(self):

0 commit comments

Comments
 (0)