CrabScout. The best software around.
Search

mock

Stand in for services during Python tests and check how they were called.

testing-cabal · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a Python virtual environment, install mock==5.2.0. Replace a sample summary function with a fake result and inspect its call.

What we tested

5.2.0. Replace a sample summary function with a fake result and inspect its call. Returned the chosen fake result and verified the exact call.

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