PandocTexifier("pandoc").texify(c.character), b'{Keltham}\n')
+class TestThread(unittest.TestCase):
+
+ def testTitle(self) -> None:
+ t = Thread(BeautifulSoup(b'''
+ <html><body>
+ <div class="content-header">
+ <span id="post-title">
+ <a href="/posts/1234">Teh Story!</a>
+ </span>
+ </div>
+ <div class="post-container post-post">The "post"</div>
+ </body></html>''', 'html.parser'))
+ self.assertEqual(t.title(), 'Teh Story!')
+
+
if __name__ == '__main__':
unittest.main()