Skip to content

Commit

Permalink
import icepyx as ipx in test_spatial
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica Scheick <[email protected]>
  • Loading branch information
trey-stafford and JessicaS11 authored Oct 31, 2024
1 parent 191181e commit 9aa54dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions icepyx/tests/unit/test_spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from shapely.geometry import Polygon

import icepyx
import icepyx as ipx
import icepyx.core.spatial as spat

# ######### "Bounding Box" input tests ################################################################################
Expand Down Expand Up @@ -567,14 +567,14 @@ def test_bbox_fmt():
def test_fmt_for_cmr_fails_unknown_extent_type():
bbox = spat.Spatial([-55, 68, -48, 71])
bbox._ext_type = "Unknown_user_override"
with pytest.raises(icepyx.core.exceptions.ExhaustiveTypeGuardException):
with pytest.raises(ipx.core.exceptions.ExhaustiveTypeGuardException):
bbox.fmt_for_CMR()


def test_fmt_for_egi_fails_unknown_extent_type():
bbox = spat.Spatial([-55, 68, -48, 71])
bbox._ext_type = "Unknown_user_override"
with pytest.raises(icepyx.core.exceptions.ExhaustiveTypeGuardException):
with pytest.raises(ipx.core.exceptions.ExhaustiveTypeGuardException):
bbox.fmt_for_EGI()


Expand Down

0 comments on commit 9aa54dc

Please sign in to comment.