summaryrefslogtreecommitdiffstats
path: root/share/extensions/inkex/tester/decorators.py
blob: f27e63816a2061a7bfad8c3b7c7a40151608fbe4 (plain)
1
2
3
4
5
6
7
8
9
"""
Useful decorators for tests.
"""
import pytest
from inkex.command import is_inkscape_available

requires_inkscape = pytest.mark.skipif(  # pylint: disable=invalid-name
    not is_inkscape_available(), reason="Test requires inkscape, but it's not available"
)