| Server IP : 172.67.131.151 / Your IP : 104.23.197.110 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/launchpadlib/tests/__pycache__/ |
Upload File : |
U
�ܛU&$ � @ s d Z ddlmZ ddlZddlZzddlmZ eZW n$ e k
rX ddl
mZmZ Y nX ddlmZ ddl
mZ ddlmZmZ dd lmZ d
Zei ��d�ZG dd
� d
�ZG dd� de�ZG dd� de�ZG dd� dej�ZG dd� de�ZG dd� de�ZdS )z,Tests for the LaunchpadOAuthAwareHTTP class.� )�dequeN)�dumps)r �JSONDecodeError)�Unauthorized)�UnencryptedFileCredentialStore)� Launchpad�LaunchpadOAuthAwareHttp)�NoNetworkAuthorizationEngines� <?xml version="1.0"?>
<application xmlns="http://research.sun.com/wadl/2006/10">
<resources base="http://www.example.com/">
<resource path="" type="#service-root"/>
</resources>
<resource_type id="service-root">
<method name="GET" id="service-root-get">
<response>
<representation href="#service-root-json"/>
</response>
</method>
</resource_type>
<representation id="service-root-json" mediaType="application/json"/>
</application>
zutf-8c @ s e Zd ZdZdd� ZdS )�ResponsezA fake HTTP response object.c C s || _ || _d S �N)�status�content)�selfr r
� r �>/usr/lib/python3/dist-packages/launchpadlib/tests/test_http.py�__init__? s zResponse.__init__N)�__name__�
__module__�__qualname__�__doc__r r r r r r
= s r
c s( e Zd ZdZ� fdd�Zdd� Z� ZS )�SimulatedResponsesHttpz<Responds to HTTP requests by shifting responses off a stack.c s&