CasperSecurity

Current Path : /lib/python3/dist-packages/launchpadlib/testing/__pycache__/
Upload File :
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
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY