Exemplo n.º 1
0
    def test_build_pattern(self):

        # short term
        build('en')

        hyphenate = build('en_US')
        assert hyphenate('Airplane') == ['Air', 'plane']
Exemplo n.º 2
0
    def test_build_pattern(self):

        # short term
        build('en')

        hyphenate = build('en_US')
        assert hyphenate('Airplane') == ['Air', 'plane']
Exemplo n.º 3
0
    def test_hyphenation_build(self):

        # short term
        build('en')

        hyphenate = build('en_US')
        self.assertEqual(hyphenate('Airplane'), ['Air', 'plane'])