message_ix_models.tests.project.ssp.test_transport

Module Attributes

SPECIES

Mapping from emission species (appearing in IAMC-structured / reported data, not model internal) to flags indicating whether data for associated ‘Variable’ codes appear in the input file and/or are modified in the output file.

Functions

check(df_in, df_out, method)

Common checks for test_process_df() and test_process_file().

expected_variables(flag)

Set of expected ‘Variable’ codes according to flag.

input_csv_path()

input_xlsx_path(tmp_path_factory, input_csv_path)

test_cli(tmp_path, mix_models_cli, ...)

Code can be invoked from the command-line.

test_process_df(input_csv_path, method)

test_process_file(tmp_path, test_context, ...)

Code can be called from Python.