def test_where_clause_failure(self): """ tests that where clauses cannot be added to Insert statements """ ist = InsertStatement('table', None) with self.assertRaises(StatementException): ist.add_where_clause('s')