Skip to content

Commit 83bd36c

Browse files
Extract Text test: Remove lingering .text
1 parent 284df5a commit 83bd36c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_extract_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def handler(request: httpx.Request) -> httpx.Response:
7272

7373
assert seen == {"post": 1}
7474
assert isinstance(response, ExtractTextResponse)
75-
assert response.text == "Example extracted text"
75+
assert response.full_text == "Example extracted text"
7676
assert response.input_id == input_file.id
7777
assert response.output_id is None
7878
assert response.output_url is None
@@ -164,5 +164,5 @@ def handler(request: httpx.Request) -> httpx.Response:
164164

165165
assert seen == {"post": 1}
166166
assert isinstance(response, ExtractTextResponse)
167-
assert response.text == "Async text"
167+
assert response.full_text == "Async text"
168168
assert response.input_id == input_file.id

0 commit comments

Comments
 (0)