It's conventional in Python to specify the keyword arguments like so:

    OptionResponseXMLFactory().build_xml(question_text='...', num_inputs=4, weight=4, options=[], correct_option='...')