def test_pdf1():
 r = S3Request(prefix='pr', name='person')
 T = current.T
 from s3.s3export import S3Exporter
 exporter = S3Exporter().pdf
 return exporter(r.resource, request=r, method='list', pdf_title=T('PDF Test Card I'), pdf_header=header, pdf_callback=body_1, pdf_footer=footer)

def test_pdf1 ( ) : r = S3Request ( prefix = 'pr' , name = 'person' ) T = current . T from s3 . s3export import S3Exporter exporter = S3Exporter ( ) . pdf return exporter ( r . resource , request = r , method = 'list' , pdf_title = T ( 'PDF Test Card I' ) , pdf_header = header , pdf_callback = body_1 , pdf_footer = footer )
generate a test pdf that will demonstrate s3rl_pdf functionality .