#NEWLINE# def test_do_log_commitmsg( demoenv , capsys ) : #NEWLINE# #INDENT# ( c , d ) = d #NEWLINE# Cmddocs ( c ) . do_log ( 'testfile2' ) #NEWLINE# ( out , err ) = capsys . readouterr ( ) #NEWLINE# assert out . endswith ( 'init\n' )