Improved Configs TestsΒΆ
OverviewΒΆ
tests/test_configs_improved.py
supplements the original configs test suite with
additional smoke checks that run under heavy mocking. These tests confirm the
configuration helpers continue to behave when scheduler detection is overridden
or when only the minimal environment is present.
HighlightsΒΆ
- Command existence β Verifies
ezpz.configs.command_exists
returns a boolean for both present and missing commands without raising. - Logging configuration β Ensures the YAML-derived logging dictionary still contains the expected keys when scheduler information is mocked out.
- Path constants & scheduler tables β Confirms the foundational path
constants (
HERE
,PROJECT_DIR
,CONF_DIR
,BIN_DIR
) remain available and that scheduler/framework/backend dictionaries are defined.