message_ix_models.tests.model.transport.test_config.TestConfig

class message_ix_models.tests.model.transport.test_config.TestConfig[source]

Bases: object

__init__()[source]

Methods

__init__()

c()

test_fields(c)

Settable class property included in ConfigHelper._fields().

test_from_context0(test_context, regions)

Configuration can be read from files.

test_from_context1(test_context, options)

Config.from_context() operates with various options.

test_navigate_scenario0(input, expected)

Set NAVIGATE scenario through the constructor.

test_navigate_scenario1(c, input, expected)

Set NAVIGATE scenario on an existing instance.

test_ssp0(input, expected)

Set SSP through the constructor.

test_ssp1(c, input, expected)

Set SSP on an existing instance.

test_use_modules(args)

test_fields(c: Config) None[source]

Settable class property included in ConfigHelper._fields().

test_from_context0(test_context, regions) None[source]

Configuration can be read from files.

This exercises Config.from_context().

test_from_context1(test_context, options) None[source]

Config.from_context() operates with various options.

test_navigate_scenario0(input, expected)[source]

Set NAVIGATE scenario through the constructor.

test_navigate_scenario1(c, input, expected)[source]

Set NAVIGATE scenario on an existing instance.

test_ssp0(input, expected)[source]

Set SSP through the constructor.

test_ssp1(c, input, expected)[source]

Set SSP on an existing instance.