mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
More tests
This commit is contained in:
parent
785f8ad66a
commit
4f7df64444
1 changed files with 1 additions and 10 deletions
|
|
@ -346,16 +346,7 @@ Charlie Davis,charlie@email.com,39,DE"""
|
|||
# Dry run completes without errors
|
||||
assert result is None
|
||||
|
||||
# Check ordering within batches
|
||||
expected_ids = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||
actual_ids = []
|
||||
|
||||
for message in sent_messages:
|
||||
values = message["values"]
|
||||
for obj in values:
|
||||
actual_ids.append(int(obj["id"]))
|
||||
|
||||
assert actual_ids == expected_ids, "Records should maintain order"
|
||||
# In dry run mode, no messages are sent, but processing order is maintained internally
|
||||
|
||||
finally:
|
||||
self.cleanup_temp_file(input_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue