Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ccl-core authored Nov 18, 2024
1 parent a2bc04e commit aeddb25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def test_get_croissant_crumbs_from_dataset_infos() -> None:
assert len(croissant_crumbs["recordSet"][3]["field"]) == 6
for field in croissant_crumbs["recordSet"][1]["field"]:
assert field["@type"] == "cr:Field"
assert field["dataType"] == "sc:Text"
if "subField" not in field:
assert field["dataType"] == "sc:Text"
assert len(croissant_crumbs["recordSet"][1]["field"]) == len(squad_info["features"]) + 1

# Test distribution.
Expand Down

0 comments on commit aeddb25

Please sign in to comment.