aosp12/external/python/mock
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
.circleci init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
docs init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
mock init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.carthorse.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.coveragerc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.readthedocs.yml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CHANGELOG.rst init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
LICENSE.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MANIFEST.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MODULE_LICENSE_BSD init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
NOTICE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OWNERS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.rst init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
backport.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
lastsync.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
release.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
setup.cfg init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
setup.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tox.ini init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.rst

mock is a library for testing in Python. It allows you to replace parts of
your system under test with mock objects and make assertions about how they
have been used.

mock is now part of the Python standard library, available as `unittest.mock
<https://docs.python.org/dev/library/unittest.mock.html>`_ in Python 3.3
onwards.

This package contains a rolling backport of the standard library mock code
compatible with Python 2.7 and 3.4 and up.

Please see the standard library documentation for more details.

:Homepage: `Mock Homepage`_
:Download: `Mock on PyPI`_
:Documentation: `Python Docs`_
:License: `BSD License`_
:Support: `Mailing list (testing-in-python@lists.idyll.org)
 <http://lists.idyll.org/listinfo/testing-in-python>`_
:Code: `GitHub
 <https://github.com/testing-cabal/mock>`_
:Issue tracker: `GitHub Issues
 <https://github.com/testing-cabal/mock/issues>`_
:Build status:
    |CircleCI|_ |Docs|_

    .. |CircleCI| image:: https://circleci.com/gh/testing-cabal/mock/tree/master.svg?style=shield
    .. _CircleCI: https://circleci.com/gh/testing-cabal/mock/tree/master

    .. |Docs| image:: https://readthedocs.org/projects/mock/badge/?version=latest
    .. _Docs: http://mock.readthedocs.org/en/latest/

.. _Mock Homepage: http://mock.readthedocs.org/en/latest/
.. _BSD License: https://github.com/testing-cabal/mock/blob/master/LICENSE.txt
.. _Python Docs: https://docs.python.org/dev/library/unittest.mock.html
.. _mock on PyPI: https://pypi.org/project/mock/