Skip to content

Commit

Permalink
move tests back to being strict
Browse files Browse the repository at this point in the history
  • Loading branch information
wtbarnes committed Sep 23, 2024
1 parent 90412d9 commit ba5247a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiapy/calibrate/tests/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
def test_fix_observer_location(aia_171_map):
smap_fixed = fix_observer_location(aia_171_map)
# NOTE: AIAMap already fixes the .observer_coordinate property with HAE
assert u.allclose(smap_fixed.meta["hgln_obs"], smap_fixed.observer_coordinate.lon.value, atol=None, rtol=1e-6)
assert u.allclose(smap_fixed.meta["hglt_obs"], smap_fixed.observer_coordinate.lat.value, atol=None, rtol=1e-6)
assert u.allclose(smap_fixed.meta["dsun_obs"], smap_fixed.observer_coordinate.radius.value, atol=None, rtol=1e-6)
assert smap_fixed.meta["hgln_obs"] == smap_fixed.observer_coordinate.lon.value
assert smap_fixed.meta["hglt_obs"] == smap_fixed.observer_coordinate.lat.value
assert smap_fixed.meta["dsun_obs"] == smap_fixed.observer_coordinate.radius.value


@pytest.fixture()
Expand Down

0 comments on commit ba5247a

Please sign in to comment.