From 1d1a0b7d44bbe639665f12c87738f23ce857c7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 30 Nov 2023 13:51:36 +0100 Subject: [PATCH] feat(configs): add assert for SQUISH_DIR env var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- test/e2e/configs/testpath.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/configs/testpath.py b/test/e2e/configs/testpath.py index 28a583394a..ada3f98688 100644 --- a/test/e2e/configs/testpath.py +++ b/test/e2e/configs/testpath.py @@ -21,7 +21,9 @@ TEST_FILES: SystemPath = ROOT / 'ext' / 'test_files' TEST_USER_DATA: SystemPath = ROOT / 'ext' / 'user_data' # Driver Directories -SQUISH_DIR = SystemPath(os.getenv('SQUISH_DIR')) +SQUISH_DIR_RAW = os.getenv('SQUISH_DIR') +assert SQUISH_DIR_RAW is not None +SQUISH_DIR = SystemPath(SQUISH_DIR_RAW) # Status Application STATUS_DATA: SystemPath = RUN / 'status'