CrabScout. The best software around.
Search

Requests Mock

Replace real HTTP requests with controlled examples during Python tests.

jamielennox · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a Python virtual environment, install requests-mock==1.12.1. Register a sample garden endpoint and verify the quoted response and call count.

What we tested

1.12.1. Register a sample garden endpoint and verify the quoted response and call count. Matched exactly one fictional request and returned seven.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library