oasislmf.cli.test¶
Classes¶
Checks the validity of a set of model data. |
|
Run FM acceptance tests from "oasisLMF/validation/*" |
|
Eventually, the Parent class for all Oasis Computation Command |
|
Eventually, the Parent class for all Oasis Computation Command |
|
Eventually, the Parent class for all Oasis Computation Command |
|
Present sub-commands for creating test models |
|
Test models and keys servers |
Module Contents¶
- class oasislmf.cli.test.ModelValidationCmd(*args, **kwargs)[source]¶
Bases:
oasislmf.cli.command.OasisBaseCommand
Checks the validity of a set of model data.
- class oasislmf.cli.test.FmValidationCmd(*args, **kwargs)[source]¶
Bases:
oasislmf.cli.command.OasisComputationCommand
Run FM acceptance tests from “oasisLMF/validation/*”
Example use: 1. Run all test cases: “oasisLMF/validation$ oasislmf test fm”
Stating oasislmf command - RunFmTest RUNNING: oasislmf.manager.interface Running: 4 Tests from ‘/home/sam/repos/core/oasisLMF/validation’ Test names: [‘insurance’, ‘insurance_step’, ‘reinsurance1’, ‘reinsurance2’]
…
- Run Directly from a acceptance test Directory: “oasisLMF/validation/reinsurance1$ oasislmf test fm”
Stating oasislmf command - RunFmTest RUNNING: oasislmf.manager.interface
…
- Select test case sub-directory: “oasisLMF/validation$ oasislmf test fm –test-case-name reinsurance1”
Stating oasislmf command - RunFmTest RUNNING: oasislmf.manager.interface
…
- class oasislmf.cli.test.GenerateDummyModelFilesCmd(*args, **kwargs)[source]¶
Bases:
oasislmf.cli.command.OasisComputationCommand
Eventually, the Parent class for all Oasis Computation Command create the command line interface from parameter define in the associated computation step
- class oasislmf.cli.test.GenerateDummyOasisFilesCmd(*args, **kwargs)[source]¶
Bases:
oasislmf.cli.command.OasisComputationCommand
Eventually, the Parent class for all Oasis Computation Command create the command line interface from parameter define in the associated computation step
- class oasislmf.cli.test.GenerateLossesDummyModelCmd(*args, **kwargs)[source]¶
Bases:
oasislmf.cli.command.OasisComputationCommand
Eventually, the Parent class for all Oasis Computation Command create the command line interface from parameter define in the associated computation step