jw-pkg/test/unit/python/jw/pkg/lib
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann fae3390a50
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m16s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m13s
CI / Packaging test (pull_request) Successful in 0s
lib.ec.secret_store.KvFile: Fail get() on directories
A directory node of the store, the root included, stats as a directory, but
a get on it falls through to the key lookup below its parent and fails with
a FileNotFoundError naming a path the caller never asked for: get() on the
root fails with an empty name, get() on a branch with its parent's compound
path.

Raise IsADirectoryError from _get() when the path is a directory on the
host, after the compound and the blob lookups, so get() and stat() agree: a
directory stats as FT_DIR and refuses a get.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-07 13:54:19 +01:00
..
App test: Fix mypy strict errors in unit tests 2026-09-13 15:42:29 +02:00
Distro lib.distros.Distro.install_*(): Add install_deps 2026-10-28 20:14:55 +01:00
distros lib.distros.Distro.install_*(): Add install_deps 2026-10-28 20:14:55 +01:00
ec lib.ec.secret_store.KvFile: Fail get() on directories 2026-11-07 13:54:19 +01:00
ExecApp test: Fix mypy strict errors in unit tests 2026-09-13 15:42:29 +02:00
FcCache lib.FcCache: Add a write-through read cache 2026-10-17 12:17:21 +02:00
FcWrapper lib.FcWrapper: Add a delegating file context wrapper 2026-10-17 12:17:21 +02:00
file_types lib.Package: Add and fill version field 2026-10-28 20:14:55 +01:00
Package lib.Package: Add and fill version field 2026-10-28 20:14:55 +01:00
PackageFilter lib.PackageFilter: Add unit tests 2026-09-14 20:53:00 +02:00
pm lib.pm.*.install_packages(): Add functions 2026-10-28 20:14:55 +01:00
ProcFilter lib.ProcFilter: Add unit tests 2026-09-14 20:52:59 +02:00
ProjectConf test: Fix mypy strict errors in unit tests 2026-09-13 15:42:29 +02:00
Result test: apply yapf formatting to test.py files 2026-07-04 07:35:17 +02:00
TarIo lib.TarIo: Add unit tests 2026-09-14 20:53:00 +02:00
Uri lib.Uri.query_dict: Add property 2026-11-03 17:40:21 +01:00
util lib.util.copy(): Add parents flag parameter 2026-10-17 11:47:06 +02:00
version lib.version.Dependency.__version_boundaries(): Use Version.next() 2026-09-15 21:43:47 +02:00
Makefile test: Move unit tests below jw/pkg 2026-06-25 20:57:05 +02:00