1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Stubs for requests_mock
from requests_mock.adapter import (
ANY as ANY,
Adapter as Adapter,
Callback as Callback,
AdditionalMatcher as AdditionalMatcher,
)
from requests_mock.exceptions import (
MockException as MockException,
NoMockAddress as NoMockAddress,
)
from requests_mock.mocker import (
DELETE as DELETE,
GET as GET,
HEAD as HEAD,
Mocker as Mocker,
MockerCore as MockerCore,
OPTIONS as OPTIONS,
PATCH as PATCH,
POST as POST,
PUT as PUT,
mock as mock,
)
from requests_mock.request import (
Request as Request,
_RequestObjectProxy as _RequestObjectProxy, # For backward compatibility
)
from requests_mock.response import (
CookieJar as CookieJar,
create_response as create_response,
Context as Context,
)
|