Testfixtures

Теги: tests  pip 

Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.

  • Comparing objects and sequences
  • Mocking out objects and methods
  • Testing logging
  • Mocking dates and times
  • Testing stream output
  • Testing with files and directories
  • Testing exceptions and warnings
  • Testing subprocesses
  • Testing when using django
  • Testing when using zope.component

Документация

Еще ссылки: