]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
scripts/poe-tasks: adjust python package test location docs-tests-python-sd9hmg/deployments/9771
authorAleš Mrázek <ales.mrazek@nic.cz>
Wed, 5 Aug 2026 21:31:41 +0000 (23:31 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Wed, 5 Aug 2026 21:31:41 +0000 (23:31 +0200)
scripts/poe-tasks/check-code
scripts/poe-tasks/fix-format
scripts/poe-tasks/test-unit

index 7ca26fb9fce1c1791712bdf696bf93370835eae2..3860eb1edb99156836230d4f31b22c0135ea8151 100755 (executable)
@@ -8,7 +8,7 @@ source $src_dir/utils/_env.sh
 set +e
 
 # dirs to check
-dirs="python/knot_resolver/ tests/manager scripts/poe-tasks/utils/create_setup.py"
+dirs="python/knot_resolver/ tests/python/knot_resolver scripts/poe-tasks/utils/create_setup.py"
 
 # check imports
 echo -e "${yellow}Checking Python imports using Ruff...${reset}"
index 8a8554a51fab69a7003fa5fe6deefb6ae5a2e869..23c9f4f75b4d69cc4829be3fb1f7b40f4af3fec6 100755 (executable)
@@ -4,7 +4,7 @@
 src_dir="$(dirname "$(realpath "$0")")"
 source $src_dir/utils/_env.sh
 
-dirs="python/knot_resolver/ tests/manager scripts/poe-tasks/utils/create_setup.py"
+dirs="python/knot_resolver/ tests/python/knot_resolver scripts/poe-tasks/utils/create_setup.py"
 
 # sort python import
 echo -e "${yellow}Sorting Python imports using ruff...${reset}"
index 85fd6089a79a95ab65ac73024719dd0e08e5174c..5bfa69faaa61f2ed58b2718bcbfc3b73b265e194 100755 (executable)
@@ -5,4 +5,8 @@ src_dir="$(dirname "$(realpath "$0")")"
 source $src_dir/utils/_env.sh
 
 # run pytest
-env PYTHONPATH=. pytest --junitxml=unit.junit.xml --cov=python/knot_resolver --show-capture=all tests/manager
+env PYTHONPATH=. pytest \
+    --junitxml=unit.junit.xml \
+    --cov=python/knot_resolver \
+    --show-capture=all \
+    tests/python/knot_resolver