message_ix_models.tests.model.transport.test_build.test_debug

message_ix_models.tests.model.transport.test_build.test_debug(test_context, tmp_path, build_kw, N_node, *, verbosity: Literal[0, 1, 2, 3] = 0)[source]

Check and debug particular steps in the transport build process.

By default, this test applies all of the CHECKS using insert_checks() and then runs the entire build process, asserting that all the checks pass.

It can also be used by uncommenting and adjusting the lines marked # DEBUG to inspect the behaviour of a sub-graph of the Computer. Such changes should not be committed.

Parameters:

verbosity (int) – Passed to verbose_check().