def test_make_title_3(self): tag = grab_text.make_title("Sysbols#") self.assertEqual(tag, "sysbols")
def test_make_title(self): tag = grab_text.make_title("A sentance") self.assertEqual(tag, "asentance")
def test_make_title_2(self): tag = grab_text.make_title("ThInGs In MiXeD cAsE") self.assertEqual(tag, "thingsinmixedcase")
def test_read_CK20_and_check_titles(self): grids = self.get_singleton_CK20().grids self.assertEqual(grids[0].tag, grab_text.make_title("Top page"))