Skip to content

Commit

Permalink
Fix github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NastyBoget committed Aug 12, 2024
1 parent afc5412 commit 071de45
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

services:
dedoc:
mem_limit: 16G
Expand Down
2 changes: 0 additions & 2 deletions docker_gpu/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

services:
dedoc:
mem_limit: 16G
Expand Down
2 changes: 0 additions & 2 deletions labeling/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

services:
labeling:
mem_limit: 16G
Expand Down
2 changes: 1 addition & 1 deletion tests/api_tests/test_api_format_pdf_auto_text_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_fast_textual_layer_detection(self) -> None:
parameters = dict(pdf_with_text_layer="auto", fast_textual_layer_detection=True)
result = self._send_request(file_name, parameters)
self.assertIn("Assume document has a correct textual layer", result["warnings"])
self.assertEqual(result["content"]["structure"]["subparagraphs"][5]["text"][:10], "This paper")
self.assertIn("FinTOC-2019", result["content"]["structure"]["subparagraphs"][0]["text"])

file_name = "tz_scan_1page.pdf"
parameters = dict(pdf_with_text_layer="auto_tabby", fast_textual_layer_detection=True)
Expand Down

0 comments on commit 071de45

Please sign in to comment.