예제 #1
0
 def setUp(self):
     self.isq = InlineSQLite()
     self.isq.runOperation(
         "create table foobar_test (val1 string, val2 string)")
     self.isq.runOperation('insert into foobar_test values ("a", "b")')
예제 #2
0
파일: test_db.py 프로젝트: ygl-rg/cyclone
 def setUp(self):
     self.isq = InlineSQLite()
     self.isq.runOperation(
         "create table `nothing` (val1 string, val2 string)")
     self.isq.runOperation('insert into `nothing` values ("a", "b")')