Skip to content

Commit

Permalink
add fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleclo committed Nov 30, 2023
1 parent 81aafab commit e5addc3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_thumbnails_for_papers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from papermage.rasterizers import PDF2ImageRasterizer

pdf_paths = [
"tests/fixtures/81f7eb73883a559e39a5ab7754c77371488c4c7e.pdf",
"tests/fixtures/2302.07302v1.pdf",
"tests/fixtures/2020.acl-main.447.pdf",
"tests/fixtures/2023.eacl-main.121.pdf",
"tests/fixtures/2303.14334v2.pdf",
Expand Down
Binary file added tests/fixtures/2302.07302v1.pdf
Binary file not shown.
9 changes: 9 additions & 0 deletions tests/test_recipes/test_core_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ def setUp(self):

def test_stability(self):
self.recipe.run(self.fixture_path / "1903.10676.pdf")
# beyond summarization
self.recipe.run(self.fixture_path / "2304.02623v1.pdf")
# semantic reader
# self.recipe.run(self.fixture_path / "2303.14334v2.pdf")
# papermage
# self.recipe.run(self.fixture_path / "papermage.pdf")
# s2orc
self.recipe.run(self.fixture_path / "2020.acl-main.447.pdf")
self.recipe.run(self.fixture_path / "4be952924cd565488b4a239dc6549095029ee578.pdf")
# longeval
self.recipe.run(self.fixture_path / "2023.eacl-main.121.pdf")
# citesee
self.recipe.run(self.fixture_path / "2302.07302v1.pdf")

0 comments on commit e5addc3

Please sign in to comment.