fre.pp.tests.test_configure_script_yaml module

Test configure_script_yaml

fre.pp.tests.test_configure_script_yaml.test_cleanup()
fre.pp.tests.test_configure_script_yaml.test_combinedyaml_exists()

Make sure combined yaml file exists

fre.pp.tests.test_configure_script_yaml.test_configure_script()

Tests success of configure yaml script Creates rose-suite, regrid rose-app, remap rose-app TO-DO: will break this up for better tests

fre.pp.tests.test_configure_script_yaml.test_rose_suite_DO_ANALYSIS()
fre.pp.tests.test_configure_script_yaml.test_set_rose_suite_missing_postprocess()

Test that set_rose_suite raises ValueError when ‘postprocess’ section is missing.

fre.pp.tests.test_configure_script_yaml.test_set_rose_suite_no_preanalysis()

Test that set_rose_suite sets DO_PREANALYSIS to ‘False’ when no preanalysis scripts are requested

fre.pp.tests.test_configure_script_yaml.test_set_rose_suite_no_refinediag()

Test that set_rose_suite sets DO_REFINEDIAG to ‘False’ when no refinediag scripts are requested

fre.pp.tests.test_configure_script_yaml.test_validate()

Test the success of validation.

fre.pp.tests.test_configure_script_yaml.test_validate_fail()

Test that validation fails when given the wrong yaml dictionary.