Home | History | Annotate | Download | only in test

Lines Matching refs:con

39         self.con = sqlite.connect(":memory:", factory=MyConnection)
40 self.con.execute("create table test(c unique)")
44 self.con.close()
48 with self.con:
53 with self.con:
54 self.con.execute("insert into test(c) values ('foo')")
55 self.con.rollback()
56 count = self.con.execute("select count(*) from test").fetchone()[0]
64 with self.con:
65 self.con.execute("insert into test(c) values (4)")
66 self.con.execute("insert into test(c) values (4)")