Skip to content

Commit 43ae6af

Browse files
committed
formatting
1 parent 59a9926 commit 43ae6af

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

_test_unstructured_client/integration/test_decorators.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def test_integration_split_pdf_has_same_output_as_non_split(
3838
concurrency_level: int, filename: str, expected_ok: bool, strategy: str
3939
):
4040
"""
41-
Tests that output that we get from the split-by-page pdf is the same as from non-split.
41+
Test that the output we get from the split-by-page pdf is the same as from non-split.
4242
4343
Requires unstructured-api running in bg. See Makefile for how to run it.
44-
Doesn't check for raw_response as there's no clear patter for how it changes with the number of pages / concurrency_level.
44+
Doesn't check for raw_response as there's no clear pattern for how it changes with the number of pages / concurrency_level.
4545
"""
4646
try:
4747
response = requests.get("http://localhost:8000/general/docs")

_test_unstructured_client/unit/test_request_utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def test_create_response_for_json():
1616
assert response.json() == elements
1717
assert response.headers["Content-Type"] == "application/json"
1818

19+
1920
def test_create_response_for_csv():
2021
elements = [
2122
b'type,element_id,text,languages,page_number,filename,filetype,parent_id' \
@@ -25,4 +26,4 @@ def test_create_response_for_csv():
2526
response = create_response(elements)
2627
assert response.status_code == 200
2728
pytest.raises(json.decoder.JSONDecodeError, response.json)
28-
assert response.headers["Content-Type"] == "text/csv; charset=utf-8"
29+
assert response.headers["Content-Type"] == "text/csv; charset=utf-8"

0 commit comments

Comments
 (0)