Пример #1
0
 def test_iterrows_empty(self):
     m = ObjectStore()
     self.assertEqual(list(m.iterrows()), [])
Пример #2
0
 def test_iterrows_empty(self):
     m = ObjectStore()
     self.assertEqual(list(m.iterrows()), [])
Пример #3
0
 def test_iterrows(self):
     m = ObjectStore()
     m.insert_many(0, range(10))
     for iter_, value in m.iterrows():
         self.failUnlessEqual(m.get_value(iter_), value)
Пример #4
0
 def test_iterrows(self):
     m = ObjectStore()
     m.insert_many(0, range(10))
     for iter_, value in m.iterrows():
         self.failUnlessEqual(m.get_value(iter_), value)