From 679c56222901ae7839097440a553ccd3038fc9e6 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Tue, 24 Jun 2025 14:19:44 +0200 Subject: [PATCH] Adds test execution entrypoint Adds a main entry point to the tests directory, allowing for test execution via `pytest.main()`. This simplifies the process of running tests directly from the tests folder. --- tests/__main__.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/__main__.py diff --git a/tests/__main__.py b/tests/__main__.py new file mode 100644 index 0000000000..4314ea3368 --- /dev/null +++ b/tests/__main__.py @@ -0,0 +1,5 @@ +# main entry point into the test folder tests runned under pytest +import pytest + +if __name__ == "__main__": + pytest.main()