mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-12 23:02:12 +02:00
Fixing tests
This commit is contained in:
parent
1c6e893a90
commit
ecb5a6feb1
2 changed files with 4 additions and 4 deletions
|
|
@ -235,7 +235,7 @@ class TestFalkorDBStorageProcessor:
|
||||||
with patch.object(processor, 'collection_exists', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(mock_message)
|
await processor.store_triples('test_workspace', mock_message)
|
||||||
|
|
||||||
# Verify queries were called in the correct order
|
# Verify queries were called in the correct order
|
||||||
expected_calls = [
|
expected_calls = [
|
||||||
|
|
|
||||||
|
|
@ -313,7 +313,7 @@ class TestMemgraphStorageProcessor:
|
||||||
with patch.object(processor, 'collection_exists', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(mock_message)
|
await processor.store_triples('test_workspace', mock_message)
|
||||||
|
|
||||||
# Verify execute_query was called for create_node, create_literal, and relate_literal
|
# Verify execute_query was called for create_node, create_literal, and relate_literal
|
||||||
# (since mock_message has a literal object)
|
# (since mock_message has a literal object)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue