(self)
| 787 | return sqlite.SQLITE_OK |
| 788 | |
| 789 | def setUp(self): |
| 790 | self.con = sqlite.connect(":memory:") |
| 791 | self.con.executescript(""" |
| 792 | create table t1 (c1, c2); |
| 793 | create table t2 (c1, c2); |
| 794 | insert into t1 (c1, c2) values (1, 2); |
| 795 | insert into t2 (c1, c2) values (4, 5); |
| 796 | """) |
| 797 | |
| 798 | # For our security test: |
| 799 | self.con.execute("select c2 from t2") |
| 800 | |
| 801 | self.con.set_authorizer(self.authorizer_cb) |
| 802 | |
| 803 | def tearDown(self): |
| 804 | self.con.close() |
nothing calls this directly
no test coverage detected