From a0da34de7e028023eb19fbbb070f1b9ff0667265 Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Wed, 18 Mar 2026 17:43:56 +0100 Subject: [PATCH] test if password is read correctly --- src/worblehat/services/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/worblehat/services/config.py b/src/worblehat/services/config.py index 7f2eb5d..1a96c55 100644 --- a/src/worblehat/services/config.py +++ b/src/worblehat/services/config.py @@ -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