Mercurial > code > home > repos > href
diff test_pagetitle.py @ 5:f8c4c7ce5f4a
lots of href additions: add/edit, nav fixes
Ignore-this: 863335c4680ac9bcc6a7fc5867638d61
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 21 Feb 2013 01:39:01 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test_pagetitle.py Thu Feb 21 01:39:01 2013 -0800 @@ -0,0 +1,9 @@ +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") +