0x1949 Team - FAZEMRX - MANAGER
Edit File: test_bus_messages.cpython-310.pyc
o ���`� � @ sf d dl mZmZmZ d dlmZmZ eddd�Ze�d�Z dd� Z d d � Zdd� Zd d� Z dd� ZdS )� )�DBusAddress� new_signal�new_method_call)� MatchRule�message_busz/org/freedesktop/portal/desktopzorg.freedesktop.portal.Desktop)�object_path�bus_name�org.freedesktop.portal.Requestc C sR t ddd�} | �ttd��sJ �| �ttd��rJ �| �tt�d�d��r'J �d S )N�signalr )�type� interface�Response�Booz"org.freedesktop.portal.FileChooser)r �matchesr �portal_req_ifacer �portal�with_interface��rule� r �A/usr/lib/python3/dist-packages/jeepney/tests/test_bus_messages.py�test_match_rule_simple s � �r c C s8 t dd��ttd��s J �t dd��ttd��rJ �d S )Nz/org/freedesktop/portal)�path_namespacer z/org/freedesktop/por)r r r r r r r r �test_match_rule_path_namespace s � �r c C sb t dd�} | �dd� | �ttdddd��sJ �| �ttddd d��r%J �| �ttd��r/J �d S ) N�method_call�r r �foor �s)r �� signature�body)�foobar�r �add_arg_conditionr r r r r r r �test_match_rule_arg% s ��r$ c C s� t dd�} | jdddd� | �ttddd d ��sJ �| �ttdddd ��s'J �| �ttdddd ��s4J �| �ttddd d ��rAJ �| �ttdddd ��rNJ �| �ttdddd ��r[J �d S )Nr r r �/aa/bb/�path��kindr r )r% r )z /aa/bb/cc)z/aa/)z/aa)z/aa/bb�u)� r"