message_ix_models.model.transport.testing

Utilities for testing transport.

Functions

assert_units(df, expected)

Assert that df has the unique, expected units.

built_transport(request, context[, options, ...])

Analogous to testing.bare_res(), with transport detail added.

configure_build(test_context, *, regions, years)

simulated_solution(request, context)

Return a Reporter with a simulated model solution.