[tracker/drop-graph: 1/3] functional-tests: Do not use deprecated DROP GRAPH
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/drop-graph: 1/3] functional-tests: Do not use deprecated DROP GRAPH
- Date: Wed, 22 Dec 2010 10:47:33 +0000 (UTC)
commit 4338250db6133c74ca4a229d2fcad79ed0496ee8
Author: Jürg Billeter <j bitron ch>
Date: Wed Dec 22 11:22:48 2010 +0100
functional-tests: Do not use deprecated DROP GRAPH
tests/functional-tests/08-unique-insertions.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/08-unique-insertions.py b/tests/functional-tests/08-unique-insertions.py
index abb2259..ee67d86 100755
--- a/tests/functional-tests/08-unique-insertions.py
+++ b/tests/functional-tests/08-unique-insertions.py
@@ -47,7 +47,7 @@ class TestMinerInsertBehaviour (CommonTrackerStoreTest):
resource = 'graph://test/resource/1'
insert_sparql = """
- DROP GRAPH <graph://test/resource/1>
+ DELETE { ?r a rdfs:Resource } WHERE { GRAPH <graph://test/resource/1> { ?r a rdfs:Resource } }
INSERT INTO <graph://test/resource/1> {
_:resource a nie:DataObject ;
nie:url "%s" .
@@ -59,7 +59,7 @@ class TestMinerInsertBehaviour (CommonTrackerStoreTest):
""" % resource
delete_sparql = """
- DROP GRAPH <graph://test/resource/1>
+ DELETE { ?r a rdfs:Resource } WHERE { GRAPH <graph://test/resource/1> { ?r a rdfs:Resource } }
"""
''' First insertion '''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]