Add test for load_config

This commit is contained in:
Matthias
2021-05-30 20:14:41 +02:00
parent 06b59551b0
commit 2d7ccaeb3d
2 changed files with 8 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ def load_file(path: Path) -> Dict[str, Any]:
with path.open('r') as file:
config = rapidjson.load(file, parse_mode=CONFIG_PARSE_MODE)
except FileNotFoundError:
raise OperationalException(f'File file "{path}" not found!')
raise OperationalException(f'File "{path}" not found!')
return config