More test coverage

This commit is contained in:
Miguel Jacq 2026-06-21 13:37:37 +10:00
parent 528176ad82
commit fc120f02a5
Signed by: mig5
GPG key ID: 03906B4110AAD3B8
3 changed files with 156 additions and 4 deletions

View file

@ -28,5 +28,6 @@ def get_enroll_version() -> str:
for dist in [*dist_names, "enroll"]:
try:
return version(dist)
except Exception:
return "unknown"
except Exception: # nosec B112
continue
return "unknown"