From d51b1ff7ba4208fce38df9336354458eaa78beb2 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 30 Sep 2025 14:41:35 +0100 Subject: [PATCH] Fixing tests --- .../unit/test_storage/test_triples_falkordb_storage.py | 10 +++++----- .../unit/test_storage/test_triples_memgraph_storage.py | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/unit/test_storage/test_triples_falkordb_storage.py b/tests/unit/test_storage/test_triples_falkordb_storage.py index 09a0f6e5..02d9cdd0 100644 --- a/tests/unit/test_storage/test_triples_falkordb_storage.py +++ b/tests/unit/test_storage/test_triples_falkordb_storage.py @@ -197,7 +197,7 @@ class TestFalkorDBStorageProcessor: # 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) @@ -234,7 +234,7 @@ class TestFalkorDBStorageProcessor: # 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) @@ -288,7 +288,7 @@ class TestFalkorDBStorageProcessor: # 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) @@ -320,7 +320,7 @@ class TestFalkorDBStorageProcessor: # 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) @@ -356,7 +356,7 @@ class TestFalkorDBStorageProcessor: # 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) diff --git a/tests/unit/test_storage/test_triples_memgraph_storage.py b/tests/unit/test_storage/test_triples_memgraph_storage.py index c8c000ce..b38f0759 100644 --- a/tests/unit/test_storage/test_triples_memgraph_storage.py +++ b/tests/unit/test_storage/test_triples_memgraph_storage.py @@ -311,7 +311,7 @@ class TestMemgraphStorageProcessor: # 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) @@ -361,7 +361,7 @@ class TestMemgraphStorageProcessor: # 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) @@ -396,7 +396,7 @@ class TestMemgraphStorageProcessor: # 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)