Commit aabc8a8e authored by Ivan Frade's avatar Ivan Frade

tests/functional-tests: update writeback test to new extractors output

parent c90bb3b0
......@@ -113,7 +113,7 @@ class WritebackBasicDataTest (CommonTrackerWritebackTest):
time.sleep (REASONABLE_TIMEOUT)
results = self.extractor.get_metadata (filename, mimetype)
self.assertIn ("testTag", results ["nao:hasTag:prefLabel"])
self.assertIn ("testTag", results ["nao:hasTag"])
# JPEG test
......@@ -128,7 +128,7 @@ class WritebackBasicDataTest (CommonTrackerWritebackTest):
def test_003_jpeg_keyword (self):
#FILENAME = "test-writeback-monitored/writeback-test-1.jpeg"
self.__writeback_test (self.get_test_filename_jpeg (), "image/jpeg",
"nie:keyword", "nao:hasTag:prefLabel")
"nie:keyword", "nao:hasTag")
def test_004_jpeg_hasTag (self):
#FILENAME = "test-writeback-monitored/writeback-test-1.jpeg"
......@@ -147,7 +147,7 @@ class WritebackBasicDataTest (CommonTrackerWritebackTest):
def test_013_tiff_keyword (self):
FILENAME = "test-writeback-monitored/writeback-test-2.tif"
self.__writeback_test (self.get_test_filename_tiff (), "image/tiff",
"nie:keyword", "nao:hasTag:prefLabel")
"nie:keyword", "nao:hasTag")
def test_014_tiff_hasTag (self):
FILENAME = "test-writeback-monitored/writeback-test-2.tif"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment