view test_pagetitle.py @ 34:c7b59377ab35

reformat
author drewp@bigasterisk.com
date Sat, 21 Aug 2021 14:28:28 -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")