test if password is read correctly

This commit is contained in:
2026-03-18 17:43:56 +01:00
parent c564ee0b99
commit a0da34de7e

View File

@@ -42,6 +42,9 @@ class Config:
with Path(password_field).open() as f:
return f.read().strip()
else:
raise RuntimeError(
"Testing, should only use file.",
)
return password_field
@classmethod