view test_pagetitle.py @ 21:8008ec2fd763

fix up link page reloading. tried davisjs; may not need it Ignore-this: d0021609f019f0734e779a61e3e73b62
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 11 Jul 2013 00:45:55 -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")