message_ix_models.tests.model.test_build

Functions

scenario(test_context)

spec()

An empty Spec.

test_apply_spec0(caplog, scenario, spec)

Require missing element raises ValueError.

test_apply_spec1(caplog, scenario, spec)

Add data using the data= argument.

test_apply_spec2(caplog, scenario, spec)

Remove an element, with fast=True.

test_apply_spec3(caplog, scenario, spec)

Actually remove data.

test_apply_spec4(request, caplog, scenario, spec)

Test that platform region IDs are added as necessary.