fremor.tests.test_cmor_config_subtool module

largely tests for fremor.cmor_config.cmor_config_subtool error conditions / messages

fremor.tests.test_cmor_config_subtool.temp_dir()

fixture yielding a temporary directory

fremor.tests.test_cmor_config_subtool.test_cmor_config_subtool_noexpcfg_err(temp_dir)

exp_config arg does not exist

fremor.tests.test_cmor_config_subtool.test_cmor_config_subtool_nomip6_tables_in_mip7_tables_err(temp_dir)

trying to target mip7 tables for mip6

fremor.tests.test_cmor_config_subtool.test_cmor_config_subtool_nomip7_tables_in_mip6_tables_err(temp_dir)

trying to target mip6 tables for mip7

fremor.tests.test_cmor_config_subtool.test_cmor_config_subtool_noppdir_err(temp_dir)

pp_dir arg does not exist

fremor.tests.test_cmor_config_subtool.test_cmor_config_subtool_notabledir_err(temp_dir)

mip_tables_dir arg does not exist

fremor.tests.test_cmor_config_subtool.test_cmor_config_subtool_writes_self_contained_yaml(temp_dir)

generated config yaml should be directly loadable without unresolved aliases