Commit fd28b488 authored by Ivan Frade's avatar Ivan Frade

functional-test: More relaxed assertion to check writeback results

parent 63da4ff6
...@@ -155,7 +155,7 @@ class WritebackMonitoredTest (CommonTrackerWritebackTest): ...@@ -155,7 +155,7 @@ class WritebackMonitoredTest (CommonTrackerWritebackTest):
results = self.extractor.get_metadata (uri (filename), mimetype) results = self.extractor.get_metadata (uri (filename), mimetype)
keyDict = expectedKey or prop keyDict = expectedKey or prop
self.assertEquals (results[keyDict][0], TEST_VALUE) self.assertIn (TEST_VALUE, results[keyDict])
self.__clean_property (prop, uri(filename), False) self.__clean_property (prop, uri(filename), False)
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