message_ix_models.tests.util.test_scenarioinfo.TestScenarioInfo

class message_ix_models.tests.util.test_scenarioinfo.TestScenarioInfo[source]

Bases: object

__init__()

Methods

__init__()

test_empty()

ScenarioInfo created from scratch.

test_from_scenario(test_context)

ScenarioInfo initialized from an existing Scenario.

test_from_url()

test_iter()

test_path(input, expected)

test_repr()

test_units(caplog)

Test both io_units() and units_for().

test_update()

test_url()

test_year_from_codes(caplog, codelist, y0, ...)

test_empty()[source]

ScenarioInfo created from scratch.

test_from_scenario(test_context) None[source]

ScenarioInfo initialized from an existing Scenario.

test_units(caplog)[source]

Test both io_units() and units_for().