[tracker/sam/functional-test-fixes: 2/20] functional-tests: Report the real error received from extractor API calls
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-test-fixes: 2/20] functional-tests: Report the real error received from extractor API calls
- Date: Sun, 20 Jul 2014 16:20:38 +0000 (UTC)
commit 4adc1177aa1b6f0d07fafe12a319edc959515c93
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Jul 19 16:13:30 2014 +0100
functional-tests: Report the real error received from extractor API calls
tests/functional-tests/400-extractor.py | 2 +-
tests/functional-tests/common/utils/helpers.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/400-extractor.py b/tests/functional-tests/400-extractor.py
index 552d98c..91519e7 100755
--- a/tests/functional-tests/400-extractor.py
+++ b/tests/functional-tests/400-extractor.py
@@ -128,7 +128,7 @@ class ExtractionTestCase (ut.TestCase):
self.__assert_extraction_ok (result)
except NoMetadataException, e:
- self.fail ("Probably a missing gstreamer plugin (or crash in the extractor?)")
+ self.fail (e)
def assertDictHasKey (self, d, key, msg=None):
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index 0d6cb79..ef0ecbf 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -590,7 +590,7 @@ class ExtractorHelper (Helper):
return metadata
except dbus.DBusException, e:
- raise NoMetadataException ()
+ raise NoMetadataException ('Error extracting metadata: %s' % e)
def __process_lines (self, embedded):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]