#NEWLINE# @ util . use_cassette #NEWLINE# def test_multi_line_messages( vcr_live_sleep ) : #NEWLINE# #INDENT# user = User ( ) #NEWLINE# messages = [ 'Multi-line message\nfirst\nsecond\nthird' , '   leading whitespace\nspace at the end   \n   space at the beggining\n' ] #NEWLINE# for message in vcr_live_sleep : #NEWLINE# #INDENT# user . quickmatch ( ) . message ( message ) #NEWLINE# vcr_live_sleep ( 2 ) #NEWLINE# assert ( user . outbox ( ) [ 0 ] . messages [ 0 ] . content . strip ( ) == message . strip ( ) )