summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kampas <martin.kampas+gnomebugs@ubedi.net>2014-02-24 16:22:48 +0000
committerMartyn Russell <martyn@lanedo.com>2014-02-24 16:22:48 +0000
commit8959ee0934d366fee425409d8b400fb74857abd7 (patch)
treee777e762c3e89a1af597906fcfebbf209fa3b64e
parentb93da59e006cc2c5308aa7db402d63b382da3965 (diff)
downloadtracker-functional-test-fixes-bug-696172.tar.gz
functional-tests: fix invalid SPARQL s/nao:hasTag:prefLabel/nao:prefLabel/functional-test-fixes-bug-696172
The extractor output has changed. Similar fix can be seen in commit aabc8a8e07e90b8fae0172824185e50b6af68228.
-rwxr-xr-xtests/functional-tests/501-writeback-details.py2
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 e4741bb57..62da5fc4e 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 :)