NOAA-GFDL / fre-cli

Python-based command line interface for FRE (FMS Runtime Environment) to compile and run FMS-based models and post-process their output.
GNU Lesser General Public License v3.0
3 stars 7 forks source link

update catalogbuilder API #189

Open ilaflott opened 4 days ago

ilaflott commented 4 days ago

see failures here for recent PR #188 (version bump for pre-release)

https://github.com/NOAA-GFDL/fre-cli/actions/runs/11037969731

and

https://github.com/NOAA-GFDL/fre-cli/actions/runs/11037959919

ilaflott commented 4 days ago

Looks like the error message changed.

=================================== FAILURES ===================================
_________________________ test_cli_fre_catalog_builder _________________________

    def test_cli_fre_catalog_builder():
        ''' fre catalog builder '''
        result = runner.invoke(fre.fre, args=["catalog", "builder"])
>       assert all( [
                      result.exit_code == 1,
                      'No paths given, using yaml configuration'
                        in result.stdout.split('\n')
                    ]
                  )
E       assert False
E        +  where False = all([True, False])

fre/tests/test_fre_catalog_cli.py:27: AssertionError