def METHOD_NAME(self):
    """
    Test that nested tables are being rendered.
    """
    tests_folder = os.path.dirname(os.path.realpath(__file__))
    html_path = os.path.join(tests_folder, 'samples', 'nested_table.html')
    with open(html_path) as html_file:
        html = html_file.read()
    with tempfile.TemporaryFile() as pdf_file:
        pisaDocument(
            src=io.StringIO(html),
            dest=pdf_file
        )
        pdf_file.seek(0)
        pdf_reader = PdfReader(pdf_file)
        self.assertEqual(len(pdf_reader.pages), 1)