More test coverage
This commit is contained in:
parent
528176ad82
commit
fc120f02a5
3 changed files with 156 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Reference in a new issue