server/test/unittest_datafeed.py
changeset 8696 0bb18407c053
parent 8694 d901c36bcfce
child 9456 a79e88aad555
--- a/server/test/unittest_datafeed.py	Thu Feb 14 15:38:25 2013 +0100
+++ b/server/test/unittest_datafeed.py	Thu Feb 14 16:01:24 2013 +0100
@@ -53,7 +53,7 @@
             stats = dfsource.pull_data(session, force=True)
             self.commit()
             # test import stats
-            self.assertEqual(sorted(stats.keys()), ['checked', 'created', 'updated'])
+            self.assertEqual(sorted(stats), ['checked', 'created', 'updated'])
             self.assertEqual(len(stats['created']), 1)
             entity = self.execute('Card X').get_entity(0, 0)
             self.assertIn(entity.eid, stats['created'])