message_ix_models.tests.util.test_node

Tests of message_ix_models.util.node.

Functions

input()

Fixture: test data for adapt_R11_R14.

test_adapt_df(input, func, N, expected, ...)

adapt_R11_R14 handles pandas.DataFrame.

test_adapt_qty(input, func, expected, node_loc)

adapt_R11_R14 handles genno.Quantity.

test_identify_nodes(caplog, test_context, ...)

test_identify_nodes1(test_context)

test_mapping_adapter()

Generic test of MappingAdapter.