pyatoa.tests.test_config
Test the I/O and sanity checks of the Config object
Module Contents
Functions
|
Saving a Config object using an ASDFDataSet will flatten and distribute |
|
Ensure that reading and writing to a Yaml file retains Config parameters |
|
Ensure that wrong parameters cannot be passed in through yaml files |
Check that incorrect values passed to Config will set off the correct errors |
- pyatoa.tests.test_config.test_io_asdf(tmpdir)[source]
Saving a Config object using an ASDFDataSet will flatten and distribute the dictionaries and Pyflex and Pyadjoint Config objects. Ensure that when this functionality is called, that it doesn’t lose any information in the conversion process.
- pyatoa.tests.test_config.test_io_yaml(tmpdir)[source]
Ensure that reading and writing to a Yaml file retains Config parameters