[tracker/rss-enclosures] functional-tests, fts: remove rdfs:Resource, not rdf:Resource
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] functional-tests, fts: remove rdfs:Resource, not rdf:Resource
- Date: Wed, 24 Nov 2010 01:26:19 +0000 (UTC)
commit 15f6fdd2f7d7713e23c4d0254cb5f13fafb31ffe
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]