[tracker] functional-test: More relaxed assertion to check writeback results
- From: Ivan Frade <ifrade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-test: More relaxed assertion to check writeback results
- Date: Mon, 18 Oct 2010 18:23:04 +0000 (UTC)
commit fd28b488c2bd3d8d106d95262ce4f8035bdd5a81
Author: Ivan Frade <ivan frade nokia com>
Date: Mon Oct 18 21:15:57 2010 +0300
functional-test: More relaxed assertion to check writeback results
tests/functional-tests/500-writeback.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/500-writeback.py b/tests/functional-tests/500-writeback.py
index b89641b..9672235 100755
--- a/tests/functional-tests/500-writeback.py
+++ b/tests/functional-tests/500-writeback.py
@@ -155,7 +155,7 @@ class WritebackMonitoredTest (CommonTrackerWritebackTest):
results = self.extractor.get_metadata (uri (filename), mimetype)
keyDict = expectedKey or prop
- self.assertEquals (results[keyDict][0], TEST_VALUE)
+ self.assertIn (TEST_VALUE, results[keyDict])
self.__clean_property (prop, uri(filename), False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]