Skip to content

Commit

Permalink
Add test (#2556)
Browse files Browse the repository at this point in the history
  • Loading branch information
lferran authored Oct 21, 2024
1 parent 8a18b57 commit 7bd0344
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nucliadb/tests/ingest/integration/orm/test_orm_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ async def test_generate_index_message_contains_all_metadata(
"/o/My Source",
"/n/s/PROCESSED",
}
# Make sure there are no duplicates
assert len(index_message.labels) == len(set(index_message.labels))

# Check texts are populated with field extracted text and field computed labels
expected_fields = {
Expand Down

0 comments on commit 7bd0344

Please sign in to comment.