HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/jeepney/integrate/tests/__pycache__/test_asyncio.cpython-310.pyc
o

���`M�@s�ddlZddlZddlmZmZddlmZddlmZm	Z	ddl
mZejjejj
edd�gZe��dd	��Zd
d�Zedd
dd�Zdd�Zdd�ZdS)�N)�DBusAddress�new_method_call)�message_bus)�connect_and_authenticate�Proxy)�have_session_buszTests require DBus session bus)�reasoncCs(�tdd�IdH\}}|V|��dS)N�SESSION)�bus)r�close)�	transport�proto�r�F/usr/lib/python3/dist-packages/jeepney/integrate/tests/test_asyncio.py�
session_protos�rc�s�|j�d�s	J�dS)N�:)�unique_name�
startswith)rrrr�test_connect_olds�rzorg.freedesktop.DBusz/org/freedesktop/DBuszorg.freedesktop.DBus.Peer)�bus_name�object_path�	interfacec�s6�ttd�}tj|�|�dd�IdH}|dksJ�dS)N�Ping�)�timeoutr)r�bus_peer�asyncio�wait_for�send_message)r�	ping_call�
reply_bodyrrr�test_send_and_get_reply_old"s�

�r!c�sN�tt|�}d}|�|�IdH}|dvsJ�|�|�IdH\}|dus%J�dS)Nz+io.gitlab.takluyver.jeepney.examples.Server>����T)rr�RequestName�NameHasOwner)r�proxy�name�res�	has_ownerrrr�test_proxy_old)s�
r,)r�pytest�jeepneyrr�jeepney.bus_messagesr�jeepney.integrate.asynciorr�jeepney.io.tests.utilsr�mark�skipif�
pytestmark�fixturerrrr!r,rrrr�<module>s*��
�