Skip to content

Commit

Permalink
Fixing test to parse from MTL text
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Aug 21, 2023
1 parent dbc1da3 commit 0e512f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_create_stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from antimeridian import FixWindingWarning
from pystac.extensions.grid import GridExtension

from stactools.landsat.stac import create_item
from stactools.landsat.stac import create_item, create_item_from_mtl_text
from tests import test_data


Expand Down Expand Up @@ -162,7 +162,7 @@ def test_mtl_text() -> None:
mtl_path = test_data.get_path(
"data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt"
)
item = create_item(mtl_path, use_usgs_geometry=True)
item = create_item_from_mtl_text(mtl_path, use_usgs_geometry=True)
item_dict = item.to_dict()

asset_keys = ["qa_pixel", "qa_radsat", "qa_aerosol"]
Expand Down

0 comments on commit 0e512f0

Please sign in to comment.