Fix CLI test failures by adding missing monitor_config type validation (#229)

- Add monitor_config: dict to key_types dictionary in test_config function
- Resolves KeyError: 'monitor_config' that was causing 9 test failures
- All CLI config tests now pass (65 passed, 1 skipped)
This commit is contained in:
adawalli
2025-07-31 22:40:43 -04:00
committed by GitHub
parent 3c5a4fb427
commit 8ebe1602bc

View File

@@ -279,6 +279,7 @@ def test_config(config_file: Callable, config_content: str, acceptable: bool) ->
"market_type": (str, type(None)),
"min_price": (str, type(None)),
"model": (str, type(None)),
"monitor_config": dict,
"name": (str, type(None)),
"notify": (list, type(None)),
"password": (str, type(None)),