

def test_all(self):
    session = self.session()
    qs = session.query(self.model)
    c = (yield qs.count())
    self.assertTrue((c > 0))
    q1 = (yield qs.all())
    self.assertEqual(len(q1), qs.count())

dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/query/slice.py TestFilter.test_all/original