Skip to content

Commit

Permalink
rename usage in test of previously modified Synthetizer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kirianguiller committed Mar 1, 2021
1 parent ea76492 commit 1fcbb7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_demo_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def test_split_into_sentences(self):
"""Check demo server sentences split as expected"""
print("\n > Testing demo server sentence splitting")
# pylint: disable=attribute-defined-outside-init
self.seg = Synthesizer.get_segmenter("en")
sis = Synthesizer.split_into_sentences
self.seg = Synthesizer._get_segmenter("en")
sis = Synthesizer._split_into_sentences
assert sis(self, 'Hello. Two sentences') == ['Hello.', 'Two sentences']
assert sis(self, 'He went to meet the adviser from Scott, Waltman & Co. next morning.') == ['He went to meet the adviser from Scott, Waltman & Co. next morning.']
assert sis(self, 'Let\'s run it past Sarah and co. They\'ll want to see this.') == ['Let\'s run it past Sarah and co.', 'They\'ll want to see this.']
Expand Down

0 comments on commit 1fcbb7c

Please sign in to comment.