%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/launchpadlib/testing/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/launchpadlib/testing/__pycache__/resources.cpython-312.pyc |
� �{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&