'Cursor variables can be passed as query parameters.'

def test_cursor_var(self):

    from django.db.backends.oracle.base import Database
    with connection.cursor() as cursor:
        var = cursor.var(Database.STRING)
        cursor.execute("BEGIN    %s    :=    'X';    END;    ", [var])
        self.assertEqual(var.getvalue(), 'X')
