#NEWLINE# @ then ( 'the last paragraph has the style I specified' ) #NEWLINE# def then_the_last_paragraph_has_the_style_I_specified( context ) : #NEWLINE# #INDENT# ( document , expected_style ) = ( context . document , context . style ) #NEWLINE# paragraph = document . paragraphs [ ( - 1 ) ] #NEWLINE# assert ( paragraph . style == context )