'Test table operations raise DBOperationNotAllowed.'

def test_table(self):

    table = sqlalchemy.Table()
    with BannedDBSchemaOperations(banned_ops={'Table': ['create', 'alter', 'drop', 'insert', 'update', 'delete']}):
        self.assertRaises(DBOperationNotAllowed, table.drop)
        self.assertRaises(DBOperationNotAllowed, table.alter)
        self.assertRaises(DBOperationNotAllowed, table.create)
        self.assertRaises(DBOperationNotAllowed, table.insert)
        self.assertRaises(DBOperationNotAllowed, table.update)
        self.assertRaises(DBOperationNotAllowed, table.delete)
