| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/launchpadlib/testing/__pycache__/ |
Upload File : |
�
�{a� � �X � d Z ddlmZ ddlmZ ddlmZ ddlmZ da d� Z
G d� d e� Zy)
zAResources for use in unit tests with the C{testresources} module.� )�resource_string)�TestResource)�Application)�
FakeLaunchpadNc �N � t �d} t dd� }t | |� a t S )a Get 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_applicationr r )�
markup_url�markups �@/usr/lib/python3/dist-packages/launchpadlib/testing/resources.py�get_applicationr
! s0 � � %�,�5�
� �!7�9M�N��(3�J��(G�%�(�(� c � � e Zd Zd� Zy)�FakeLaunchpadResourcec �B � t t dt dd� � �� S )Nz https://api.example.com/testing/r ztesting-wadl.xml)�application)r r r )�self�dependency_resourcess r �makezFakeLaunchpadResource.make1 s&