#NEWLINE# def test_trigger_with_variables( self , go_server ) : #NEWLINE# #INDENT# cmd = Trigger ( go_server , 'Keymaker' , variables = 'PIPELINE=The-Matrix' ) #NEWLINE# cmd . run ( ) #NEWLINE# cmd . pipeline . schedule . assert_called_once_with ( variables = dict ( PIPELINE = 'The-Matrix' ) , secure_variables = None , return_new_instance = False )