%PDF- %PDF-
Direktori : /lib/python3/dist-packages/jeepney/tests/__pycache__/ |
Current File : //lib/python3/dist-packages/jeepney/tests/__pycache__/test_low_level.cpython-312.pyc |
� +�c� � �` � d dl Z d dl� dZd� Zd� Zd� Zd� Zd� Zd � Zd � Z G d� de � Zd � Zy)� N)�*s� l m o /org/freedesktop/DBus s org.freedesktop.DBus s Hello s org.freedesktop.DBus c � � t � j t � d } | j j t j dk( sJ �y )Nr �Hello)�Parser�feed�HELLO_METHOD_CALL�header�fields�HeaderFields�member��msgs �>/usr/lib/python3/dist-packages/jeepney/tests/test_low_level.py�test_parser_simpler s; � � �(�-�-�)� *�1� -�C��:�:���\�0�0�1�W�<�<�<� c # �h K � d}|t | � k r||z }| || �� |}|t | � k r�y y �w�Nr )�len)�src�size�pos�ends r �chunksr s= � �� � �C� ��C��.��D�j���#�c�l���� ��C��.�s �-2�2c � � t � } t t t d� � }|d d D ] }| j |� g k( r�J � | j |d � d }|j j t j dk( sJ �y )N� ���r r ) r �listr r r r r r r )�p�chunked�cr s r �test_parser_chunksr! s~ � ���A��6�+�R�0�1�G� �S�b�\� ���v�v�a�y�B����� �&�&���� �a� �C��:�:���\�0�0�1�W�<�<�<r c �� � t � j t dz � } t | � dk( sJ �| D ]. }|j j t j dk( r�.J � y )N� r )r r r r r r r r )�msgsr s r � test_multipler% s\ � ��8�=�=�*�Q�.�/�D��t�9��>��>�� A���z�z� � ��!4�!4�5��@�@�@�Ar c �v � t � j t � d } | j � t k( sJ �y r )r r r � serialiser s r �test_roundtripr( $ s- � � �(�-�-�)� *�1� -�C��=�=�?�/�/�/�/r c �� � ddd�} t d }t t ||g� � }t |j | dt j � � |j | dt j � dk( sJ �y )N�b�f)�a�de�sr s&