tests.test_manager_vagrant moduleΒΆ

Vagrant output tests.

These tests stub run_cli and replay the samples documented on Vagrant. They never call vagrant.

tests.test_manager_vagrant.SEARCH_OUTPUT = '[\n  {\n    "name": "ubuntu/jammy64",\n    "version": "20240126.0.0",\n    "downloads": "1,234,567",\n    "providers": "virtualbox",\n    "architectures": "amd64"\n  }\n]'ΒΆ

vagrant cloud search ubuntu --json, as the docstring of search() shows it.

tests.test_manager_vagrant.test_search_reads_the_registry_answer(capture_run_cli)[source]ΒΆ

A box gives its full name and its latest version.