Skip to content

Commit

Permalink
TST: Add missing @pytest.mark.samples decorators (#2940)
Browse files Browse the repository at this point in the history
  • Loading branch information
markmentovai authored Nov 12, 2024
1 parent 545a79c commit 7678eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,7 @@ def test_watermark_rendering(tmp_path):
assert image_similarity(png_path, target_png_path) >= 0.95


@pytest.mark.samples
@pytest.mark.skipif(GHOSTSCRIPT_BINARY is None, reason="Requires Ghostscript")
def test_watermarking_reportlab_rendering(tmp_path):
"""
Expand Down
1 change: 1 addition & 0 deletions tests/test_xmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def test_read_xmp_metadata_samples(src):
}


@pytest.mark.samples
def test_writer_xmp_metadata_samples():
writer = PdfWriter(SAMPLE_ROOT / "020-xmp/output_with_metadata_pymupdf.pdf")
xmp = writer.xmp_metadata
Expand Down

0 comments on commit 7678eff

Please sign in to comment.