README.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. mock is a library for testing in Python. It allows you to replace parts of
  2. your system under test with mock objects and make assertions about how they
  3. have been used.
  4. mock is now part of the Python standard library, available as `unittest.mock
  5. <https://docs.python.org/dev/library/unittest.mock.html>`_ in Python 3.3
  6. onwards.
  7. This package contains a rolling backport of the standard library mock code
  8. compatible with Python 2.7 and 3.4 and up.
  9. Please see the standard library documentation for more details.
  10. :Homepage: `Mock Homepage`_
  11. :Download: `Mock on PyPI`_
  12. :Documentation: `Python Docs`_
  13. :License: `BSD License`_
  14. :Support: `Mailing list (testing-in-python@lists.idyll.org)
  15. <http://lists.idyll.org/listinfo/testing-in-python>`_
  16. :Code: `GitHub
  17. <https://github.com/testing-cabal/mock>`_
  18. :Issue tracker: `GitHub Issues
  19. <https://github.com/testing-cabal/mock/issues>`_
  20. :Build status:
  21. |CircleCI|_ |Docs|_
  22. .. |CircleCI| image:: https://circleci.com/gh/testing-cabal/mock/tree/master.svg?style=shield
  23. .. _CircleCI: https://circleci.com/gh/testing-cabal/mock/tree/master
  24. .. |Docs| image:: https://readthedocs.org/projects/mock/badge/?version=latest
  25. .. _Docs: http://mock.readthedocs.org/en/latest/
  26. .. _Mock Homepage: http://mock.readthedocs.org/en/latest/
  27. .. _BSD License: https://github.com/testing-cabal/mock/blob/master/LICENSE.txt
  28. .. _Python Docs: https://docs.python.org/dev/library/unittest.mock.html
  29. .. _mock on PyPI: https://pypi.org/project/mock/