/usr/lib/python3/dist-packages/launchpadlib/testing/__pycache__
Edit: /usr/lib/python3/dist-packages/launchpadlib/testing/__pycache__/helpers.cpython-310.pyc (6802B)
o
{a @ s d Z eZg dZddlmZ ddlZddlmZ ddl m
Z
mZmZ e
Zdd ZG d d
d
eZG dd deZG d
d deZedd ZG dd dZG dd dZG dd dZG dd dZeddZeddZeddZdS )zlaunchpadlib testing helpers.)
BadSaveKeyringfake_keyringFauxSocketModuleInMemoryKeyringNoNetworkAuthorizationEngineNoNetworkLaunchpadTestableLaunchpadnopriv_read_nonprivatesalgado_read_nonprivatesalgado_with_full_permissions )contextmanagerN) Launchpad)AccessTokenCredentialsRequestTokenAuthorizationEnginec C s t tjdttu s
J dd S )Nkeyringz>During tests the real keyring module should never be imported.)getattrlaunchpadlibcredentialsmissing r r >/usr/lib/python3/dist-packages/launchpadlib/testing/helpers.pyassert_keyring_not_imported2 s r c s4 e Zd ZdZdZ fddZdd Zdd Z ZS ) r a An authorization engine that doesn't open a web browser.
You can use this to test the creation of Launchpad objects and the
storing of credentials. You can't use it to interact with the web
service, since it only pretends to authorize its OAuth request tokens.
z
access_key:84c s&