#NEWLINE# def test_output( self ) : #NEWLINE# #INDENT# rpi_gpio = Mock ( ) #NEWLINE# adapter = GPIO . RPiGPIOAdapter ( rpi_gpio ) #NEWLINE# adapter . output ( 1 , True ) #NEWLINE# rpi_gpio . output . assert_called_with ( 1 , True ) #NEWLINE# adapter . output ( 1 , False ) #NEWLINE# rpi_gpio . output . assert_called_with ( 1 , False )