requests-mock
1.11.0
  • Overview
  • Using the Mocker
  • Request Matching
  • Creating Responses
  • Known Issues
  • Request History
  • Adapter Usage
  • Additional Loading
  • Release Notes
requests-mock
  • Docs »
  • Welcome to requests-mock’s documentation!
  • Edit on GitHub

Welcome to requests-mock’s documentation!¶

Contents:

  • Overview
    • Installation
  • Using the Mocker
    • Activation
    • Class Decorator
    • Methods
    • Real HTTP Requests
    • JSON Encoder
    • Nested Mockers
    • Mocking specific sessions
  • Request Matching
    • Simple
    • Path Matching
    • Query Strings
    • Matching ANY
    • Regular Expressions
    • Request Headers
    • Additional Matchers
    • Custom Matching
  • Creating Responses
    • Registering Responses
    • Dynamic Response
    • Response Lists
    • Raising Exceptions
    • Handling Cookies
  • Known Issues
    • Case Insensitivity
    • Cookies in Sessions
  • Request History
    • Called
    • Request Objects
    • Reset History
  • Adapter Usage
    • Creating an Adapter
  • Additional Loading
    • Fixtures
    • pytest

Release Notes¶

  • Release Notes
    • 1.11.0
    • 1.10.0
    • 1.9.3
    • 1.9.2
    • 1.9.1
    • 1.9.0
    • 1.8.0
    • 1.7.0
    • 1.6.0
    • 1.5.2
    • 1.5.1
    • 1.5.0
    • 1.3.0
    • 1.1.0

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2014, Jamie Lennox Revision 15df8e2b.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 1.11.0
Versions
latest
stable
1.11.0
1.10.0
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.0
1.5.2
1.5.1
1.5.0
1.4.0
0.7.0
0.6.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.