Skip to content

Commit

Permalink
Update test_fre_cli.py
Browse files Browse the repository at this point in the history
`catalogbuilder`'s API changed. the tests should catch this but do not.

updating with a test that will fail
  • Loading branch information
ilaflott authored Aug 7, 2024
1 parent 26a887f commit afbba4e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fre/tests/test_fre_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ def test_cli_fre_catalog():
result = runner.invoke(fre.fre, args=["catalog"])
assert result.exit_code == 0

def test_cli_fre_catalog_builder():
result = runner.invoke(fre.fre, args=["catalog", "builder"])
assert result.exit_code == 0

def test_cli_fre_catalog_builder():
result = runner.invoke(fre.fre, args=["catalog", "builder", "/archive/FIRST.LAST/fre/FMS2023.04_om5_20240410/ESM4.2JpiC_om5b04r1/gfdl.ncrc5-intel23-prod-openmp/pp"])
assert result.exit_code == 0

def test_cli_fre_catalog_help():
result = runner.invoke(fre.fre, args=['--help', "catalog"])
assert result.exit_code == 0
Expand Down

0 comments on commit afbba4e

Please sign in to comment.