From 1fcbb7c6aedf0dc26f4fdb6912b69089292fc467 Mon Sep 17 00:00:00 2001 From: kirianguiller Date: Mon, 1 Mar 2021 15:20:29 +0100 Subject: [PATCH] rename usage in test of previously modified Synthetizer methods --- tests/test_demo_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_demo_server.py b/tests/test_demo_server.py index 1de3f5588b..bb53d4f531 100644 --- a/tests/test_demo_server.py +++ b/tests/test_demo_server.py @@ -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.']