tests.test_manager_sdkman moduleΒΆ

SDKMAN! output tests.

These tests stub run and replay the samples documented on SDKMAN. They never call bash or sdk.

tests.test_manager_sdkman.UPGRADE_OUTPUT = 'Available defaults:\ngradle (local: 2.3, 1.11; default: 8.9)\njava (local: 21.0.4-tem; default: 25.0.2-tem)\n\nUse prescribed default version(s)? (Y/n):'ΒΆ

echo n | sdk upgrade, as the docstring of outdated shows it.

tests.test_manager_sdkman.test_outdated_reads_the_declined_upgrade(monkeypatch)[source]ΒΆ

Each candidate gives its first local version and the default it can move to, read from an upgrade that the piped n declines.