[tracker/functional-test-fixes-bug-696172: 8/8] functional-tests: fix invalid SPARQL s/nao:hasTag:prefLabel/nao:prefLabel/
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/functional-test-fixes-bug-696172: 8/8] functional-tests: fix invalid SPARQL s/nao:hasTag:prefLabel/nao:prefLabel/
- Date: Mon, 24 Feb 2014 16:25:14 +0000 (UTC)
commit 8959ee0934d366fee425409d8b400fb74857abd7
Author: Martin Kampas <martin kampas+gnomebugs ubedi net>
Date: Mon Feb 24 16:22:48 2014 +0000
functional-tests: fix invalid SPARQL s/nao:hasTag:prefLabel/nao:prefLabel/
The extractor output has changed. Similar fix can be seen in
commit aabc8a8e07e90b8fae0172824185e50b6af68228.
tests/functional-tests/501-writeback-details.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/501-writeback-details.py b/tests/functional-tests/501-writeback-details.py
index e4741bb..62da5fc 100755
--- a/tests/functional-tests/501-writeback-details.py
+++ b/tests/functional-tests/501-writeback-details.py
@@ -77,7 +77,7 @@ class WritebackKeepDateTest (CommonTrackerWritebackTest):
# Check the value is written in the file
metadata = self.extractor.get_metadata (self.get_test_filename_jpeg (), "")
- self.assertIn (self.favorite, metadata ["nao:hasTag:prefLabel"],
+ self.assertIn (self.favorite, metadata ["nao:hasTag"],
"Tag hasn't been written in the file")
# Now check the modification date of the files and it should be the same :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]