Skip to content

Commit

Permalink
Add assertion for units attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Jul 30, 2022
1 parent 61db438 commit 5e8f566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_topography.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ def test_load(tmpdir, shared_datadir):
)
topo.load()
assert topo.da is not None
assert topo.da.attrs["units"] == "degrees"

0 comments on commit 5e8f566

Please sign in to comment.