示例#1
0
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)
示例#2
0
 def setUp(self):
     self.parser = SexAgeCensusParser()