Skip to content

Commit 446c893

Browse files
committed
fixup
1 parent 259e09e commit 446c893

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/v3/test_group.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,8 @@ async def test_group_members_async(store: Store, consolidated_metadata: bool) ->
10501050
[x async for x in group.members(max_depth=-1)]
10511051

10521052
if consolidated_metadata:
1053-
# test for mixed
1053+
# test for mixed known and unknown metadata.
1054+
# For now, we trust the consolidated metadata.
10541055
object.__setattr__(
10551056
group.metadata.consolidated_metadata.metadata["g0"].consolidated_metadata.metadata[
10561057
"g1"
@@ -1059,9 +1060,9 @@ async def test_group_members_async(store: Store, consolidated_metadata: bool) ->
10591060
None,
10601061
)
10611062
all_children = sorted([x async for x in group.members(max_depth=None)], key=lambda x: x[0])
1062-
assert len(all_children) == len(expected)
1063+
assert len(all_children) == 4
10631064
nmembers = await group.nmembers(max_depth=None)
1064-
assert nmembers == 6
1065+
assert nmembers == 4
10651066

10661067

10671068
async def test_require_group(store: LocalStore | MemoryStore, zarr_format: ZarrFormat) -> None:

0 commit comments

Comments
 (0)