view test_pagetitle.py @ 9:7df920c18c83

move lib js Ignore-this: 32945b67a25dcd8d720f13475cbbf9ff
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 06 Mar 2013 23:23:18 -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")