view 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 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")