Mercurial > code > home > repos > href
view test_pagetitle.py @ 41:293a694304b8
reformat
author | drewp@bigasterisk.com |
---|---|
date | Sat, 19 Nov 2022 17:18:55 -0800 |
parents | f8c4c7ce5f4a |
children |
line wrap: on
line source
import unittest from pagetitle import PageTitle class TestPageTitle(unittest.TestCase): def testLoads(self): p = PageTitle({'pageTitle':None}) t = p.getPageTitle("http://bigasterisk.com/") self.assertEqual(t, "Drew Perttula")