Commit 803f9bbd authored by Sam Thursfield's avatar Sam Thursfield

Revert "tests: Drop assert requiring perfect multivalued resource matches"

This reverts commit df314b5a.
parent cd31f5c7
...@@ -358,12 +358,8 @@ class TrackerExtractTestCase(ut.TestCase): ...@@ -358,12 +358,8 @@ class TrackerExtractTestCase(ut.TestCase):
raise AssertionError("Expected a list property for %s, but got a %s: %s" % ( raise AssertionError("Expected a list property for %s, but got a %s: %s" % (
prop, type(result[prop]).__name__, result[prop])) prop, type(result[prop]).__name__, result[prop]))
# FIXME: depending on the gstreamer version we link to, we may extract different self.assertEqual(len(expected_value), len(result[prop]),
# nfo:hasHash and tracker:hasExternalReference. Those tags should probably be error_wrong_length % (prop, filename, spec_filename))
# handled in separate tests that we can disable entirely with build-time checks.
# This check should be restored once we can thoroughly compare outputs again.
#self.assertEqual(len(expected_value), len(result[prop]),
# error_wrong_length % (prop, filename, spec_filename))
for i in range(0, len(expected_value)): for i in range(0, len(expected_value)):
if isinstance(expected_value[i], dict): if isinstance(expected_value[i], dict):
......
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