We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb26d32 commit 9ea97f4Copy full SHA for 9ea97f4
tests/test_read.py
@@ -7,3 +7,13 @@
7
async def test_read(examples: Path) -> None:
8
item = Item.from_dict(await rustac.read(str(examples / "simple-item.json")))
9
item.validate()
10
+
11
12
+async def test_asset_ordering(examples: Path) -> None:
13
+ # Not a perfect test but should be good enough for https://github.com/stac-utils/rustac-py/issues/85
14
+ lists = []
15
+ for _ in range(10):
16
+ item = await rustac.read(str(examples / "extended-item.json"))
17
+ lists.append(list(item["assets"].keys()))
18
+ for sublist in lists[1:]:
19
+ assert lists[0] == sublist
0 commit comments