test if password is read correctly
This commit is contained in:
@@ -42,6 +42,9 @@ class Config:
|
|||||||
with Path(password_field).open() as f:
|
with Path(password_field).open() as f:
|
||||||
return f.read().strip()
|
return f.read().strip()
|
||||||
else:
|
else:
|
||||||
|
raise RuntimeError(
|
||||||
|
"Testing, should only use file.",
|
||||||
|
)
|
||||||
return password_field
|
return password_field
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user