bonsai pytest.ini - specify plugins explicitly

To make it possible to run the tests with PYTEST_DISABLE_PLUGIN_AUTOLOAD set, which is very useful if you don't want to start Blender anytime you run any tests on your system.
This commit is contained in:
Andrej730
2025-05-06 19:03:33 +05:00
parent c2f9bfeb8d
commit a6f523039b
+7 -1
View File
@@ -37,4 +37,10 @@ markers =
unit
void
web
addopts = --color=yes --code-highlight=yes
# Provide plugins explicitly, so it will be possible run tests with PYTEST_DISABLE_PLUGIN_AUTOLOAD.
addopts =
-p pytest-blender
-p pytest-bdd
--color=yes
--code-highlight=yes