Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/c/e/ceilometer-HEAD/ceilometer/tests/storage/test_impl_sqlalchemy.py   ceilometer(Download)
                       sql_models.MetaBigInt, sql_models.MetaBool]
        for table in meta_tables:
            self.assertEqual(0, session.query(table)
                .filter(~table.id.in_(
                    session.query(sql_models.Sample.id)
 
        session = self.conn._engine_facade.get_session()
        self.assertEqual(0, session.query(sql_models.sourceassoc)
            .filter(~sql_models.sourceassoc.c.sample_id.in_(
                session.query(sql_models.Sample.id)
                    .group_by(sql_models.Sample.id)
                    )).count())
        self.assertEqual(0, session.query(sql_models.sourceassoc)
                    .group_by(sql_models.Project.id)
                    )).count())
        self.assertEqual(0, session.query(sql_models.sourceassoc)
            .filter(~sql_models.sourceassoc.c.user_id.in_(
                session.query(sql_models.User.id)