diff options
Diffstat (limited to 'tests/test_massops.py')
-rw-r--r-- | tests/test_massops.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_massops.py b/tests/test_massops.py index ac524cf..8082aa6 100644 --- a/tests/test_massops.py +++ b/tests/test_massops.py @@ -143,7 +143,9 @@ class MassOpsTestCase(unittest.TestCase): def test_update_verify(self): """Verify test_update() has changed content and metadata of all entries.""" - for entry in self._datastore.find({}, [], byte_arrays=True)[0]: + entries, total_count = self._datastore.find({}, [], byte_arrays=True) + self.assertEquals(total_count, NUM_RUNS) + for entry in entries: filename = self._datastore.get_filename(entry['uid'], byte_arrays=True) self._filter_properties(entry) |