fremor.tests.test_cmor_run_subtool_further_examples module
Expanded set of tests for fremor run — cases beyond test_cmor_run_subtool.py.
These tests exercise cmor_run_subtool against a variety of variables, tables, and grid labels drawn from a mock pp-archive.
Tip
pytest temp directories By default pytest removes temp directories after the session. To keep them around for debugging, run:
pytest --basetemp=/tmp/fremor-debug -k test_case_cmip6 -x
Output files will then persist under /tmp/fremor-debug.
- fremor.tests.test_cmor_run_subtool_further_examples.test_case_cmip6(testfile_dir, table, opt_var_name, grid_label, start, calendar, tmp_path, monkeypatch)
Run cmor_run_subtool for a single CMIP6 variable and assert output exists.