ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
3 stars 12 forks source link

Convert cam_autogen doctests to unittest tests #187

Closed nusbaume closed 1 year ago

nusbaume commented 2 years ago

This PR moves most of the cam_autogen.py doctests into a new test_cam_autogen.py unit test script, which greatly cleans up the main autogen module, improves test coverage, and should ease the application of future python CI/CD tools. There were some other small changes made to other python scripts, but only when doing so helped in the development of the autogen tests.

Finally, please note that the changes made to pr_open_sync_workflow.yml will eventually be moved to python_unit_tests.yml once PR #185 has been approved and merged.

Fixes #182

nusbaume commented 2 years ago

@cacraigucar Just let me know if this PR is a little too outside your wheelhouse and I'll remove you as a reviewer. Thanks!