class TestSexAgeCensusParser(unittest.TestCase): def setUp(self): self.parser = SexAgeCensusParser() def test_questions(self): q = 'how many men in New York?' match = self.parser.search(q) self.assertIsNotNone(match)
def setUp(self): self.parser = SexAgeCensusParser()