#NEWLINE# def test_media_is_included_by_default_with_uniform( ) : #NEWLINE# #INDENT# form = TestFormWithMedia ( ) #NEWLINE# form . helper = FormHelper ( ) #NEWLINE# form . helper . template_pack = 'uni_form' #NEWLINE# html = render_crispy_form ( form ) #NEWLINE# assert ( 'test.css' in html ) #NEWLINE# assert ( 'test.js' in html )