https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/launchpadlib/testing/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current 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

https://t.me/RX1948 - 2025