python-pretend

Python library for stubbing (Python 2)
  https://github.com/alex/pretend
  0
  no reviews



Pretend is a library to make stubbing with Python easier.

Stubbing is a technique for writing tests. You may hear the term mixed up with mocks, fakes, or doubles. Basically a stub is an object that returns pre-canned responses, rather than doing any computation.

This package contains the Python 2 version of pretend.