From e8aa40638cffafb4e3b254984e8746505207423c Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Mon, 2 Mar 2026 13:07:38 +0100 Subject: [PATCH] ci: git mv unit_tests.py tests_unit_tests.py For an easier launch of the unit tests by `pytest`, file `unit_tests.py` was renamed and thus now is discovered automatically from the root of the project. Signed-off-by: Norwid Behrnd --- .github/workflows/ci_pytest.yml | 5 ++--- tests/call_tests.sh | 2 +- tests/{unit_tests.py => test_unit_tests.py} | 0 3 files changed, 3 insertions(+), 4 deletions(-) rename tests/{unit_tests.py => test_unit_tests.py} (100%) diff --git a/.github/workflows/ci_pytest.yml b/.github/workflows/ci_pytest.yml index 7352d66..378a4d4 100644 --- a/.github/workflows/ci_pytest.yml +++ b/.github/workflows/ci_pytest.yml @@ -44,6 +44,5 @@ jobs: - name: verbose pytest run: | - cd tests - python -m pytest unit_tests.py - python -m pytest unit_tests.py -v + pytest + pytest -v diff --git a/tests/call_tests.sh b/tests/call_tests.sh index 2ad3026..7df697b 100755 --- a/tests/call_tests.sh +++ b/tests/call_tests.sh @@ -1,5 +1,5 @@ #!/bin/sh cd $(dirname $0)/.. -PYTHONPATH=".:" tests/unit_tests.py --verbose +PYTHONPATH=".:" tests/test_unit_tests.py --verbose #end diff --git a/tests/unit_tests.py b/tests/test_unit_tests.py similarity index 100% rename from tests/unit_tests.py rename to tests/test_unit_tests.py