tofusoup 2025-06-07
Refined HCL output status documentation and added HCL-to-HCL test
3 files · 44+ · 14-

HCL output limitation documentation

2 files changed
  • CONVERT_COMMAND_DESIGN.md Clarified that python-hcl2 v7.2.1 lacks dumps equivalent; noted that alternative library may be needed for robust dict-to-HCL
  • convert_logic.py Expanded NotImplementedError message to include library version and specific limitation details
  • Documented that hcl2.dumps does not exist after investigation; updated error message with version reference specify behavioral
    2 files
    • CONVERT_COMMAND_DESIGN.md
    • convert_logic.py

HCL-to-HCL conversion test

1 file changed
  • test_convert_commands.py Added test_convert_hcl_to_hcl_shows_not_implemented verifying error message for --to hcl; updated existing test assertions
  • Added test confirming that HCL-to-HCL conversion correctly surfaces the NotImplementedError with full context qualify behavioral
    1 file
    • test_convert_commands.py