class TestCursor(unittest.TestCase): def setUp(self): self.connection = SQLiteConnection(database=FILENAME).connect def testQueryRaisesNotImplemented(self): self.cursor = Cursor() with self.assertRaises(NotImplementedError): self.cursor._execute("SELECT * FROM test WHERE name=?", ('Glenn',))
def testQueryRaisesNotImplemented(self): self.cursor = Cursor() with self.assertRaises(NotImplementedError): self.cursor._execute("SELECT * FROM test WHERE name=?", ('Glenn',))