From 87a24b195d2210de59479ba7e8c0dbd0a811f0e1 Mon Sep 17 00:00:00 2001 From: polochinoc Date: Wed, 26 Jul 2023 18:46:01 +0200 Subject: [PATCH] Fix config file not found in test dir for GitHub Actions --- src/config.py | 2 +- tst/test_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index c0ccd87..fc93ba5 100644 --- a/src/config.py +++ b/src/config.py @@ -5,7 +5,7 @@ from yaml import safe_load -CONFIG_FILE_PATH: str = './config.yaml' +CONFIG_FILE_PATH: str = 'config.yaml' UTF_8: str = 'utf-8' MODE: str = 'rt' diff --git a/tst/test_config.py b/tst/test_config.py index 1a7c27e..2ef0772 100644 --- a/tst/test_config.py +++ b/tst/test_config.py @@ -2,7 +2,7 @@ from src.config import Config, CONFIG_FILE_PATH -cfg: Config = Config(f"../src/{CONFIG_FILE_PATH}") +cfg: Config = Config(f"src/{CONFIG_FILE_PATH}") class TestConfig: