message_ix_models.tests.test_report

Tests for message_ix_models.report.

Functions

simulated_solution_reporter([snapshot_id])

Reporter with a simulated solution for snapshot_id.

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_compare(test_context[, snapshot_id])

Compare the output of genno-based and legacy reporting.

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().