Skip to content

Commit

Permalink
FIX conduit watermark test outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfneal committed Jul 9, 2024
1 parent a319a98 commit 1b6b61e
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
Binary file added tests/data/rotate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests/data/size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/output/test_conduit_watermark_flat_pypdf.pdf
Binary file not shown.
Binary file modified tests/output/test_conduit_watermark_layered_pypdf.pdf
Binary file not shown.
Binary file modified tests/output/test_conduit_watermark_overlay_pypdf.pdf
Binary file not shown.
Binary file modified tests/output/test_conduit_watermark_pypdf.pdf
Binary file not shown.
Binary file modified tests/output/test_conduit_watermark_underneath_pypdf.pdf
Binary file not shown.
10 changes: 5 additions & 5 deletions tests/test_conduit_watermark.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def test_conduit_watermark_pypdf(self):
self.assertPdfExists(added)
self.assertPdfHasResources(added)

copy_pdf_to_output_directory(added, function_name_to_file_name())
expected_equals_output(function_name_to_file_name(), added)

@Timer.decorator
def test_conduit_watermark_underneath_pypdf(self):
Expand All @@ -274,7 +274,7 @@ def test_conduit_watermark_underneath_pypdf(self):
self.assertPdfExists(added)
self.assertPdfHasResources(added)

copy_pdf_to_output_directory(added, function_name_to_file_name())
expected_equals_output(function_name_to_file_name(), added)

@Timer.decorator
def test_conduit_watermark_overlay_pypdf(self):
Expand All @@ -296,7 +296,7 @@ def test_conduit_watermark_overlay_pypdf(self):
self.assertPdfExists(added)
self.assertPdfHasResources(added)

copy_pdf_to_output_directory(added, function_name_to_file_name())
expected_equals_output(function_name_to_file_name(), added)

@Timer.decorator
def test_conduit_watermark_flat_pypdf(self):
Expand All @@ -313,7 +313,7 @@ def test_conduit_watermark_flat_pypdf(self):
self.assertPdfExists(added)
self.assertPdfHasResources(added)

copy_pdf_to_output_directory(added, function_name_to_file_name())
expected_equals_output(function_name_to_file_name(), added)

@Timer.decorator
def test_conduit_watermark_layered_pypdf(self):
Expand All @@ -334,7 +334,7 @@ def test_conduit_watermark_layered_pypdf(self):
self.assertPdfExists(added)
self.assertPdfHasResources(added)

copy_pdf_to_output_directory(added, function_name_to_file_name())
expected_equals_output(function_name_to_file_name(), added)

@Timer.decorator
def test_conduit_watermark_label(self):
Expand Down

0 comments on commit 1b6b61e

Please sign in to comment.