mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 12:11:02 +02:00
Tests
This commit is contained in:
parent
2f5d639938
commit
ac82300f3b
1 changed files with 4 additions and 4 deletions
|
|
@ -729,8 +729,8 @@ class TestCassandraQueryPerformanceOptimizations:
|
||||||
# Verify all results were returned
|
# Verify all results were returned
|
||||||
assert len(result) == 5
|
assert len(result) == 5
|
||||||
for i, triple in enumerate(result):
|
for i, triple in enumerate(result):
|
||||||
assert triple.s.value == f'subject_{i}'
|
assert triple.s.iri == f'subject_{i}'
|
||||||
assert triple.p.value == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'
|
assert triple.p.iri == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'
|
||||||
assert triple.p.is_uri is True
|
assert triple.p.type == IRI
|
||||||
assert triple.o.value == 'http://example.com/Person'
|
assert triple.o.value == 'http://example.com/Person'
|
||||||
assert triple.o.is_uri is True
|
assert triple.o.type == IRI
|
||||||
Loading…
Add table
Add a link
Reference in a new issue