%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/jeepney/io/tests/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/jeepney/io/tests/__pycache__/test_trio.cpython-312.pyc |
� +�c4 � � � d dl Z d dlZd dlmZmZmZmZ d dlmZm Z d dl mZmZm Z ddlmZ ej j ej j# e d�� gZd � Z ed dd� � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy)� N)�DBusAddress�DBusErrorResponse�MessageType�new_method_call)�message_bus� MatchRule)�open_dbus_connection�open_dbus_router�Proxy� )�have_session_buszTests require DBus session bus)�reasonc � �� K � t d�� � d { ��� } | 4 �d { ��� | j j d� sJ �d d d � �d { ��� y 7 �=7 �47 � # 1 �d { ���7 sw Y y xY w�w)N�SESSION��bus�:)r �unique_name� startswith)�conns �</usr/lib/python3/dist-packages/jeepney/io/tests/test_trio.py�test_connectr sj � �� �%�)�4�4�D�� 0� 0����*�*�3�/�/�/�0� 0� 0� 5��0�� 0�� 0� 0� 0�sS �A+�A� A+�A�A+�A�A+� A�A+�A+�A+�A(�A�A(�$A+zorg.freedesktop.DBusz/org/freedesktop/DBuszorg.freedesktop.DBus.Peer)�bus_name�object_path� interfacec � � K � t t d� } t d�� 4 �d { ��� }t j d� 5 |j | � � d { ��� }d d d � d d d � �d { ��� j j t j k( sJ �|j dk( sJ �y 7 ��7 �Y# 1 sw Y �XxY w7 �O# 1 �d { ���7 sw Y �_xY w�w)N�Pingr r � � )r �bus_peerr �trio� fail_after�send_and_get_reply�header�message_typer � method_return�body�� ping_call�req�replys r �test_send_and_get_replyr, s� � �� ���&�1�I��I�.� <� <�#� �_�_�Q� � <��0�0��;�;�E� <�<� <� �<�<�$�$��(A�(A�A�A�A��:�:�����<��;�� <� <��<�� <� <� <�sn �!C�B*�C�B<�B.�B,�B.�B<�C�*B:�+A C�,B.�.B7 �3B<�:C�<C�C�C� Cc � � K � t t d� } t d�� 4 �d { ��� }t j d� 5 |j | � � d { ��� }d d d � d d d � �d { ��� j j t j k( sJ �y 7 �u7 �H# 1 sw Y �GxY w7 �># 1 �d { ���7 sw Y �NxY w�w)N�Snartr r r ) r r r r! r"