tests.test_manager_winget moduleΒΆ
WinGet-specific parsing tests.
These tests cover the pure-Python parsing/regex logic. They do not invoke
winget.exe and are platform-agnostic.
- tests.test_manager_winget.test_parse_details_ignores_indented_upgrade_line(winget)[source]ΒΆ
Regression test: indented
wingetlines do not split package blocks.The package-block split must not fire on indented
winget [version]lines underAvailable Upgrades.
- tests.test_manager_winget.test_parse_table_handles_short_header_line(winget)[source]ΒΆ
Regression test: winget may emit a header shorter than the separator.
Trailing spaces on the last column are trimmed. The separator must drive the column width so data rows that fill the full width do not trip the width assertion.