0x1949 Team - FAZEMRX - MANAGER
Edit File: test_http.cpython-310.pyc
o '[�a�$ � @ s� d Z ddlmZ ddlmZ ddlZddlZzddlmZ W n ey) e ZY nw ddl mZ ddlm Z 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.� )�deque)�dumpsN)�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&