def test_fpdf(self):

        self.assertEqual(
            fpdf.FPDF_VERSION, pyfpdf.FPDF_VERSION, 'version mistmatch')
        self.assertEqual(fpdf.FPDF, pyfpdf.FPDF, 'class mistmatch')

        pdf = fpdf.FPDF()
        pdf.add_page()
        pdf.compress = False
        pdf.set_font('Arial', '', 14)
        pdf.ln(10)
        pdf.write(5, 'hello world')
        pdf_out = pdf.output('', 'S')

        self.assertTrue(fpdf.FPDF_VERSION in pdf_out, 'version string')
        self.assertTrue('hello world' in pdf_out, 'sample message')
Call {% get_dict dict key default_key %} or {% get_dict dict key %}
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/tests/test_contribs.py/TestContribs.test_fpdf--crossover with--dataset/ETHPy150Open ilblackdragon/django-blogs/blog/templatetags/misc.py/get_dict