#NEWLINE# def test_can_be_rendered_in_template( self ) : #NEWLINE# #INDENT# block = factories . HorizontalSeparatorBlockFactory . build ( id = 6 ) #NEWLINE# renderer = block . get_renderer_class ( ) ( renderer , self . request_context ) #NEWLINE# block_html = renderer . render ( ) #NEWLINE# self . assertIn ( '<hr />' , block_html )