mirror of
https://github.com/BoPeng/ai-marketplace-monitor.git
synced 2025-12-23 22:28:18 -05:00
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:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user