o {a@sTdZddlmZddlmZddlmZddlmZda ddZ Gd d d eZ dS) 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_urlmarkupr @/usr/lib/python3/dist-packages/launchpadlib/testing/resources.pyget_application!s   r c@seZdZddZdS)FakeLaunchpadResourcecCsttdtdddS)Nz https://api.example.com/testing/rztesting-wadl.xml) application)rrr)selfdependency_resourcesr r r make1s zFakeLaunchpadResource.makeN)__name__ __module__ __qualname__rr r r r r 0s r ) __doc__ pkg_resourcesr testresourcesrwadllib.applicationrlaunchpadlib.testing.launchpadrrr r r r r r s