| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/launchpadlib/testing/ |
Upload File : |
ó
ľĚŘNc @ so d Z d d l m Z d d l m Z d d l m Z d d l m Z d a
d Z d e f d YZ d S(
sA Resources for use in unit tests with the C{testresources} module.i˙˙˙˙( t resource_string( t TestResource( t Application( t
FakeLaunchpadc C s7 t d k r3 d } t d d } t | | a n t S( s 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.
s https://api.launchpad.net/1.0/s launchpadlib.testings launchpad-wadl.xmlN( t launchpad_testing_applicationt NoneR R ( t
markup_urlt markup( ( sB /usr/lib/python2.7/dist-packages/launchpadlib/testing/resources.pyt get_application! s t FakeLaunchpadResourcec B s e Z d Z RS( c C s t d t d t d d S( Nt applications https://api.example.com/testing/s launchpadlib.testings testing-wadl.xml( R R R ( t selft dependency_resources( ( sB /usr/lib/python2.7/dist-packages/launchpadlib/testing/resources.pyt make3 s ( t __name__t
__module__R
( ( ( sB /usr/lib/python2.7/dist-packages/launchpadlib/testing/resources.pyR 1 s N(
t __doc__t
pkg_resourcesR t
testresourcesR t wadllib.applicationR t launchpadlib.testing.launchpadR R R R R ( ( ( sB /usr/lib/python2.7/dist-packages/launchpadlib/testing/resources.pyt <module> s