Mercurial > code > home > repos > href
view test_pagetitle.py @ 11:c26da994a43a
link to more peers
Ignore-this: 99af993cd4bbebec52a4a9062090ba9b
author | drewp@bigasterisk.com |
---|---|
date | Fri, 15 Mar 2013 00:31:11 -0700 |
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")