| Server IP : 159.69.118.108 / Your IP : 216.73.216.231 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-4gb-fsn1-1 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 13:53:54 UTC 2025 aarch64 User : root ( 0) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /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&