mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
17 lines
235 B
Python
Executable File
17 lines
235 B
Python
Executable File
"""
|
|
Requires pytest installed under blender
|
|
|
|
Usage: `blender -b -P runpytest.py -- ARGS`
|
|
"""
|
|
|
|
import sys
|
|
import pytest
|
|
|
|
argv = [__file__]
|
|
|
|
if '--' in sys.argv:
|
|
i = sys.argv.index('--')
|
|
argv += sys.argv[i+1:]
|
|
|
|
pytest.main(argv)
|