def testContainsAll(self):
        '''Test filter when performing a all request'''
        objects = self.mapper[SimpleModel]
        qs = objects.query()
        all = yield qs.all()
        self.assertTrue(all)
        self.assertTrue(qs.backend_query())
        self.assertTrue(1 in qs)
        be = qs.backend_query()
        self.assertEqual(be.cache[None], all)
dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/query/manager.py/TestManager.testContainsAll/original