message_ix_models.tests.test_report

Tests for message_data.reporting.

Functions

test_apply_units(request, test_context, regions)

test_collapse(input, exp)

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

test_report_bare_res(request, test_context)

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

test_report_legacy(caplog, request, ...)

Legacy reporting can be invoked through report().