Skip to content

Commit

Permalink
tests: improved skipif reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Jan 4, 2021
1 parent 5011f4e commit 159f2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_full_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def test_smart_header_footer_detection():
assert smart_objects.flattened.paragraphs[29].text == '4. Chapter test for footer'


@pytest.mark.skipif(sys.platform.startswith('win'), reason='ImageMagick not installed for Github windows-latest OS')
@pytest.mark.skipif(sys.platform.startswith('win'), reason='visual debugging: ImageMagick not installed on Win')
def test_visual_debug_include_elements(tmpdir):
"""Test visual debug include visualized elements."""
visual_debug_output_dir = os.path.join(tmpdir, 'visual_debug_libpdf')
Expand All @@ -236,7 +236,7 @@ def test_visual_debug_include_elements(tmpdir):
assert len(os.listdir(visual_debug_output_dir)) == 1


@pytest.mark.skipif(sys.platform.startswith('win'), reason='ImageMagick not installed for Github windows-latest OS')
@pytest.mark.skipif(sys.platform.startswith('win'), reason='visual debugging: ImageMagick not installed on Win')
def test_visual_debug_exclude_elements(tmpdir):
"""Test visual debug exclude visualized elements."""
visual_debug_output_dir = os.path.join(tmpdir, 'visual_debug_libpdf')
Expand Down

0 comments on commit 159f2ca

Please sign in to comment.