Skip to content

Commit a43377b

Browse files
committed
do not migrate items
1 parent 12977bf commit a43377b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/resources/test_item.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ async def test_fetches_valid_item(
148148
mock_root = pystac.Catalog(
149149
id="test", description="test desc", href="https://example.com"
150150
)
151-
item = pystac.Item.from_dict(item_dict, preserve_dict=False, root=mock_root)
151+
item = pystac.Item.from_dict(
152+
item_dict, preserve_dict=False, root=mock_root, migrate=False
153+
)
152154
item.validate()
153155

154156

0 commit comments

Comments
 (0)