Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha@silbe.org>2009-11-12 12:55:01 (GMT)
committer Sascha Silbe <sascha@silbe.org>2009-11-12 12:55:01 (GMT)
commit9a518ee9e6c1882cb63f4c3b8007e425b265fea9 (patch)
treeeafc6d8826c67f1b4973758ac9b52fc109870747
parentb3d0f1d2f2ed42e48f5a82af8ee596d89ae19e3a (diff)
test_massops: verify update has changed metadata as well
-rw-r--r--tests/test_massops.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_massops.py b/tests/test_massops.py
index f04b35a..47e6d7a 100644
--- a/tests/test_massops.py
+++ b/tests/test_massops.py
@@ -93,9 +93,11 @@ class MassOpsTestCase(unittest.TestCase):
def test_update_verify(self):
"""Verify test_update() has changed the content of all entries."""
- for entry in self._datastore.find({}, ['uid'], byte_arrays=True)[0]:
+ for entry in self._datastore.find({}, [], byte_arrays=True)[0]:
filename = self._datastore.get_filename(entry['uid'],
byte_arrays=True)
+ self._filter_properties(entry)
+ self.assertEquals(entry, self._update_properties)
try:
self.assertEquals(file(filename).read(), self._update_content)
finally: