tests.test_cli_dump moduleΒΆ

mpm dump CLI tests.

Drives the subcommand against the deterministic fake_pool. The Brewfile renderer it delegates to is unit-tested in tests.test_brewfile, and the snapshot/merge/update flows shared with the backup alias live in tests.test_cli_backup.

tests.test_cli_dump.test_dump_query_filter_narrows_to_matches(invoke, fake_pool)[source]ΒΆ

dump --query keeps only installed packages matching the query.

tests.test_cli_dump.test_dump_without_query_lists_all(invoke, fake_pool)[source]ΒΆ

Without a query, dump snapshots the full installed inventory.