GOOD SHELL MAS BOY
Server: Apache/2.4.52 (Ubuntu)
System: Linux vmi1836763.contaboserver.net 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64
User: www-data (33)
PHP: 8.4.10
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/launchpadlib/testing/__pycache__/resources.cpython-310.pyc
o

�{a��@sTdZddlmZddlmZddlmZddlmZda	dd�Z
Gd	d
�d
e�ZdS)zAResources for use in unit tests with the C{testresources} module.�)�resource_string)�TestResource)�Application)�
FakeLaunchpadNcCs$tdurd}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.
    Nzhttps://api.launchpad.net/1.0/�launchpadlib.testingzlaunchpad-wadl.xml)�launchpad_testing_applicationrr)�
markup_url�markup�r
�@/usr/lib/python3/dist-packages/launchpadlib/testing/resources.py�get_application!s


rc@seZdZdd�ZdS)�FakeLaunchpadResourcecCsttdtdd��d�S)Nz https://api.example.com/testing/rztesting-wadl.xml)�application)rrr)�self�dependency_resourcesr
r
r�make1s��zFakeLaunchpadResource.makeN)�__name__�
__module__�__qualname__rr
r
r
rr
0sr
)�__doc__�
pkg_resourcesr�
testresourcesr�wadllib.applicationr�launchpadlib.testing.launchpadrrrr
r
r
r
r�<module>s