From a6f523039b066018445bc5204ee1e6a777e93687 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 6 May 2025 19:03:33 +0500 Subject: [PATCH] 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. --- src/bonsai/pytest.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bonsai/pytest.ini b/src/bonsai/pytest.ini index f3a641a5c4..03ca7a5dcd 100644 --- a/src/bonsai/pytest.ini +++ b/src/bonsai/pytest.ini @@ -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