def test_itervalues_empty(self):
     m = ObjectStore()
     self.assertEqual(list(m.itervalues()), [])
示例#2
0
 def test_itervalues_empty(self):
     m = ObjectStore()
     self.assertEqual(list(m.itervalues()), [])
 def test_itervalues(self):
     m = ObjectStore()
     m.insert_many(0, range(10))
     self.failUnlessEqual(range(10), list(m.itervalues()))
示例#4
0
 def test_itervalues(self):
     m = ObjectStore()
     m.insert_many(0, range(10))
     self.failUnlessEqual(range(10), list(m.itervalues()))