Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed Apr 3, 2024
1 parent cc4ebff commit dd29aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cice_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, tmp_path):
}

run(["ocean_grid_generator.py", "-r", "0.25", "--no_south_cap", "--ensure_nj_even", "-f", self.path])

# open ocean_hgrid.nc
self.ds = xr.open_dataset(self.path)

Expand Down Expand Up @@ -183,7 +183,7 @@ def test_inputs_logged(cice_grid, mom_grid):
assert hasattr(ds, "inputfile"), "inputfile attribute missing"
assert hasattr(ds, "inputfile_md5"), "inputfile md5sum attribute missing"

sys_md5 = run(['md5sum', ds.inputfile],capture_output=True, text=True)
sys_md5 = run(["md5sum", ds.inputfile], capture_output=True, text=True)
sys_md5 = sys_md5.stdout.split(" ")[0]
assert ds.inputfile_md5 == sys_md5, f"inputfile md5sum attribute incorrect, {ds.inputfile_md5} != {sys_md5}"

Expand Down

0 comments on commit dd29aa5

Please sign in to comment.