#NEWLINE# def test_shipping_event_history( self ) : #NEWLINE# #INDENT# self . event ( history . order_placed , 3 ) #NEWLINE# self . event ( self . dispatched , 1 ) #NEWLINE# history = self . line . shipping_event_breakdown #NEWLINE# self . assertEqual ( 3 , history [ 'Order placed' ] [ 'quantity' ] ) #NEWLINE# self . assertEqual ( 1 , history [ 'Dispatched' ] [ 'quantity' ] )