File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
terminusdb_client/tests/integration_tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -204,8 +204,8 @@ def test_update_triples(docker_url):
204
204
205
205
<terminusdb://context>
206
206
a sys:Context ;
207
- sys:base "terminusdb:///data/" ;
208
- sys:schema "terminusdb:///schema#" .
207
+ sys:base "terminusdb:///data/"^^xsd:string ;
208
+ sys:schema "terminusdb:///schema#"^^xsd:string .
209
209
"""
210
210
client = Client (docker_url , user_agent = test_user_agent , team = "admin" )
211
211
client .connect ()
@@ -214,7 +214,7 @@ def test_update_triples(docker_url):
214
214
client .connect (db = db_name )
215
215
client .update_triples (graph_type = 'schema' , content = ttl , commit_msg = "Update triples" )
216
216
client .insert_document ({"name" : "Socrates" })
217
- assert len (client .get_all_documents ()) == 1
217
+ assert len (list ( client .get_all_documents () )) == 1
218
218
219
219
220
220
def test_get_database (docker_url ):
You can’t perform that action at this time.
0 commit comments