message_ix_models.tests.util.test_click

Basic tests of the command line.

Functions

test_default_path_cb(session_context, ...)

Test default_path_cb().

test_regions(mix_models_cli)

--regions=… used on both group and a command within the group.

test_scenario_param(capsys, mix_models_cli, ...)

Tests of scenario_param().

test_store_context(mix_models_cli)

Test store_context().

test_urls_from_file(mix_models_cli, tmp_path)

Test urls_from_file() callback.