#NEWLINE# def test_invalid_arguments( self ) : #NEWLINE# #INDENT# template = '{% lazy_paginate objects %}{% get_pages foo bar %}' #NEWLINE# request = self . request ( ) #NEWLINE# with self . assertRaises ( TemplateSyntaxError ) : #NEWLINE# #INDENT# self . render ( request , request )