Did I find the right examples for you? yes no

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

src/c/l/cloudminer-0.2/cloudminer/tests/test_simple_cm.py   cloudminer(Download)
        cdb2 = CloudMiner('sqlite:///:memory:')
        cdb2.add_cloudyvent(self.runname, self.iaasid, self.nodeid, self.hostname, self.service_type, self.parent, self.runlogdir, self.vmlogdir, cye)
        cdb2.commit()
 
    def test_multiply_cms_simple(self):
        cdb2 = CloudMiner('sqlite:///:memory:')
        cdb2.add_cloudyvent(self.runname, self.iaasid, self.nodeid, self.hostname, self.service_type, self.parent, self.runlogdir, self.vmlogdir, cye)
        cdb2.commit()
 
        rc = self.cdb.get_events_by_runname(self.runname)

src/c/l/cloudminer-0.2/cloudminer/tests/test_filedb_cm.py   cloudminer(Download)
        cdb2 = CloudMiner('sqlite:///' + self.filename)
        cdb2.add_cloudyvent(self.runname, self.iaasid, self.nodeid, self.hostname, self.service_type, self.parent, self.runlogdir, self.vmlogdir, cye)
        cdb2.commit()
 
        rc = self.cdb.get_events_by_runname(self.runname)
 
        self.cdb.commit()
        cdb2.commit()
        rc = cdb2.get_events_by_runname(self.runname)
        self.assertEqual(len(rc), 1)