message_ix_models.tests.test_report

Tests for message_ix_models.report.

Functions

ss_reporter()

Reporter with a simulated solution for snapshot 0.

test_add_simulated_solution(test_context, ...)

test_apply_units(request, test_context, regions)

test_cli(mix_models_cli)

test_collapse(input, exp)

Test report.util.collapse() and use of REPLACE_VARS.

test_prepare_reporter(test_context)

test_register(caplog)

test_report_bare_res(request, tmp_path, ...)

Prepare and run the standard MESSAGE-GLOBIOM reporting on a bare RES.

test_report_deprecated(caplog, request, ...)

test_report_legacy(caplog, request, ...)

Legacy reporting can be invoked via message_ix_models.report.report().