'Test homepage() navigation item'

def testHomepageFunction(self):

    hp = homepage('pr')
    self.assertTrue((hp is not None))
    hp = homepage('nonexistent')
    self.assertTrue((hp is not None))
    self.assertFalse(hp.check_active())
    rendered_hp = hp.xml()
    self.assertEqual(rendered_hp, '')
