mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Fixing tests
This commit is contained in:
parent
09b5167c50
commit
d51b1ff7ba
2 changed files with 8 additions and 8 deletions
|
|
@ -197,7 +197,7 @@ class TestFalkorDBStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
with patch.object(processor, \'collection_exists\', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(message)
|
await processor.store_triples(message)
|
||||||
|
|
@ -234,7 +234,7 @@ class TestFalkorDBStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
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(mock_message)
|
||||||
|
|
@ -288,7 +288,7 @@ class TestFalkorDBStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
with patch.object(processor, \'collection_exists\', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(message)
|
await processor.store_triples(message)
|
||||||
|
|
@ -320,7 +320,7 @@ class TestFalkorDBStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
with patch.object(processor, \'collection_exists\', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(message)
|
await processor.store_triples(message)
|
||||||
|
|
@ -356,7 +356,7 @@ class TestFalkorDBStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
with patch.object(processor, \'collection_exists\', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(message)
|
await processor.store_triples(message)
|
||||||
|
|
|
||||||
|
|
@ -311,7 +311,7 @@ class TestMemgraphStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
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(mock_message)
|
||||||
|
|
@ -361,7 +361,7 @@ class TestMemgraphStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
with patch.object(processor, \'collection_exists\', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(message)
|
await processor.store_triples(message)
|
||||||
|
|
@ -396,7 +396,7 @@ class TestMemgraphStorageProcessor:
|
||||||
# Mock collection_exists to bypass validation in unit tests
|
# Mock collection_exists to bypass validation in unit tests
|
||||||
|
|
||||||
|
|
||||||
with patch.object(processor, \'collection_exists\', return_value=True):
|
with patch.object(processor, 'collection_exists', return_value=True):
|
||||||
|
|
||||||
|
|
||||||
await processor.store_triples(message)
|
await processor.store_triples(message)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue