#NEWLINE# def test_get_lines( self ) : #NEWLINE# #INDENT# empty = '' #NEWLINE# empty_multiline = '\n\n\n' #NEWLINE# non_empty = 'abc\nfoo\nbar' #NEWLINE# mixed = 'abc\n\nfoo\n\n\nbar' #NEWLINE# self . assertEqual ( get_lines ( self ) , [ ] ) #NEWLINE# self . assertEqual ( get_lines ( empty_multiline ) , [ ] ) #NEWLINE# self . assertEqual ( get_lines ( non_empty ) , [ 'abc' , 'foo' , 'bar' ] ) #NEWLINE# self . assertEqual ( get_lines ( mixed ) , [ 'abc' , 'foo' , 'bar' ] )