#NEWLINE# def test_invalid( ) : #NEWLINE# #INDENT# runner = CliRunner ( ) #NEWLINE# result = runner . invoke ( cmd , [ '000' ] ) #NEWLINE# assert ( "That commit doesn't have a valid specification" in result . output ) #NEWLINE# assert ( result . exit_code == 1 )