message_ix_models.tests.util.test_scenarioinfo.TestScenarioInfo
- class message_ix_models.tests.util.test_scenarioinfo.TestScenarioInfo[source]
Bases:
object
- __init__()
Methods
__init__
()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()
andunits_for()
.test_update
()test_url
()test_year_from_codes
(caplog, codelist, y0, ...)- test_units(caplog)[source]
Test both
io_units()
andunits_for()
.