[tracker] functional-tests, fts: remove rdfs:Resource, not rdf:Resource
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests, fts: remove rdfs:Resource, not rdf:Resource
- Date: Mon, 23 Aug 2010 10:54:33 +0000 (UTC)
commit b07327c08af41f59fdc830cce366d3475371c5d4
Author: Aleksander Morgado <aleksander lanedo com>
Date: Mon Aug 23 11:34:44 2010 +0200
functional-tests, fts: remove rdfs:Resource, not rdf:Resource
tests/functional-tests/03-fts-functions.py | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/tests/functional-tests/03-fts-functions.py b/tests/functional-tests/03-fts-functions.py
index cce6197..35b0c20 100755
--- a/tests/functional-tests/03-fts-functions.py
+++ b/tests/functional-tests/03-fts-functions.py
@@ -75,9 +75,9 @@ class TestFTSFunctions (CommonTrackerStoreTest):
delete_sparql = """
DELETE {
- <contact://test/fts-function/rank/1> a rdf:Resource .
- <contact://test/fts-function/rank/2> a rdf:Resource .
- <contact://test/fts-function/rank/3> a rdf:Resource .
+ <contact://test/fts-function/rank/1> a rdfs:Resource .
+ <contact://test/fts-function/rank/2> a rdfs:Resource .
+ <contact://test/fts-function/rank/3> a rdfs:Resource .
}
"""
@@ -110,7 +110,7 @@ class TestFTSFunctions (CommonTrackerStoreTest):
SELECT fts:offsets (?contact) WHERE {
?contact a nco:PersonContact ;
fts:match 'abcdefxyz' .
- }
+ }
"""
results = self.tracker.query (query)
self.assertEquals (len(results), 3)
@@ -120,13 +120,13 @@ class TestFTSFunctions (CommonTrackerStoreTest):
delete_sparql = """
DELETE {
- <contact://test/fts-function/rank/1> a rdf:Resource .
- <contact://test/fts-function/rank/2> a rdf:Resource .
- <contact://test/fts-function/rank/3> a rdf:Resource .
+ <contact://test/fts-function/rank/1> a rdfs:Resource .
+ <contact://test/fts-function/rank/2> a rdfs:Resource .
+ <contact://test/fts-function/rank/3> a rdfs:Resource .
}
"""
-
-
+
+
if __name__ == '__main__':
ut.main()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]