initial commit
This commit is contained in:
10
deps/inkex/tester/decorators.py
vendored
Normal file
10
deps/inkex/tester/decorators.py
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"""
|
||||
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"
|
||||
)
|
||||
Reference in New Issue
Block a user