Mercurial > code > home > repos > href
comparison 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 |
comparison
equal
deleted
inserted
replaced
4:409da49c148d | 5:f8c4c7ce5f4a |
---|---|
1 import unittest | |
2 from pagetitle import PageTitle | |
3 | |
4 class TestPageTitle(unittest.TestCase): | |
5 def testLoads(self): | |
6 p = PageTitle({'pageTitle':None}) | |
7 t = p.getPageTitle("http://bigasterisk.com/") | |
8 self.assertEqual(t, "Drew Perttula") | |
9 |