#NEWLINE# def test_shipping_status_after_two_full_line_events( self ) : #NEWLINE# #INDENT# type1 = self . order_placed #NEWLINE# self . event ( type1 ) #NEWLINE# type2 = self . dispatched #NEWLINE# self . event ( type2 ) #NEWLINE# self . assertEqual ( type2 . name , self . line . shipping_status )