Enhanced Utils Testsโ๏ธ
Overviewโ๏ธ
tests/test_utils_improved.py extends the utilities test coverage by mocking
scheduler detection and hostname lookups, ensuring the helpers behave in stripped
-down environments and when optional dependencies are missing.
Highlightsโ๏ธ
- Timestamp utilities โ Verifies both default and custom-format timestamp generation.
- String normalisation โ Confirms that varying separator and case inputs are translated into consistent, kebab-case identifiers.
- Key-value formatting โ Ensures integers, booleans, and floats (with custom
precision) are rendered consistently by
utils.format_pair.