diff --git a/python/tests/test_model.py b/python/tests/test_model.py index b1e1e0b4..d07e0303 100644 --- a/python/tests/test_model.py +++ b/python/tests/test_model.py @@ -130,7 +130,7 @@ class TestTriple(unittest.TestCase): NamedNode("http://example.com/o"), ) ), - " .", + " ", ) @@ -201,7 +201,7 @@ class TestQuad(unittest.TestCase): NamedNode("http://example.com/o"), ) ), - " .", + " ", ) diff --git a/python/tests/test_store.py b/python/tests/test_store.py index 21852817..8df9330a 100644 --- a/python/tests/test_store.py +++ b/python/tests/test_store.py @@ -172,6 +172,12 @@ class TestStore(unittest.TestCase): store.update('LOAD ') self.assertGreater(len(store), 100) + def test_update_star(self): + store = Store() + store.update('PREFIX : INSERT DATA { :alice :claims << :bob :age 23 >> }') + results = store.query('PREFIX : SELECT ?p ?a WHERE { ?p :claims << :bob :age ?a >> }') + self.assertEqual(len(list(results)), 1) + def test_load_ntriples_to_default_graph(self): store = Store() store.load(