From ac82300f3b5012136f91064d94df7b38d43eebce Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 27 Jan 2026 00:30:12 +0000 Subject: [PATCH] Tests --- tests/unit/test_query/test_triples_cassandra_query.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/test_query/test_triples_cassandra_query.py b/tests/unit/test_query/test_triples_cassandra_query.py index e5cbd2c7..7b183d4c 100644 --- a/tests/unit/test_query/test_triples_cassandra_query.py +++ b/tests/unit/test_query/test_triples_cassandra_query.py @@ -729,8 +729,8 @@ class TestCassandraQueryPerformanceOptimizations: # Verify all results were returned assert len(result) == 5 for i, triple in enumerate(result): - assert triple.s.value == f'subject_{i}' - assert triple.p.value == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' - assert triple.p.is_uri is True + assert triple.s.iri == f'subject_{i}' + assert triple.p.iri == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' + assert triple.p.type == IRI assert triple.o.value == 'http://example.com/Person' - assert triple.o.is_uri is True \ No newline at end of file + assert triple.o.type == IRI \ No newline at end of file