%PDF- %PDF-
Direktori : /lib/python3/dist-packages/speechd/__pycache__/ |
Current File : //lib/python3/dist-packages/speechd/__pycache__/_test.cpython-312.pyc |
� �If� � � � d dl Z d dlZddlmZmZmZmZmZ G d� de j � Z G d� de � Z G d� d e � Zed k( r e j � yy)� N� )�PunctuationMode�CallbackType� SSIPClient�Scope�Speakerc � � e Zd Zd� Zd� Zy)�_SSIPClientTestc � � t d� | _ | j j d� | j j d� y )N�test�en� )r �_client�set_language�set_rate��selfs �//usr/lib/python3/dist-packages/speechd/_test.py�setUpz_SSIPClientTest.setUp s2 � �!�&�)������!�!�$�'������b�!� c �8 � | j j � y )N)r �closer s r �tearDownz_SSIPClientTest.tearDown s � ������r N)�__name__� __module__�__qualname__r r � r r r r s � �"� r r c � � e Zd ZdZd� Zy)� AutomaticTestz�A set of tests which may be evaluated automatically. Please put all tests which require a user to listen to their output to the VoiceTest below. c � �� | j j d� t j g t j g t j g i�| j j d�fd��� | j j d�fd��� t j d� | j j � | j j d�fd ��� t j d � t j t j t j fD �cg c] }�| �� c}\ }}}|ddgk( r|dgk( rd|v rd |v rd|vs J �df� �y c c}w )N�flitez]This message should get interrupted. It is hopefully long enough to last more than 1 second.c �, �� �| j d� S )N�msg1��append��type�calleds �r �<lambda>z.AutomaticTest.test_callbacks.<locals>.<lambda>8 � �� ����1D�1D�V�1L� r )�callbackz0This second message should not be spoken at all.c �, �� �| j d� S )N�msg2r$ r&