Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.circleci/ | 03-May-2024 | - | 119 | 105 | ||
docs/ | 03-May-2024 | - | 394 | 160 | ||
mock/ | 03-May-2024 | - | 9,121 | 6,642 | ||
.carthorse.yml | D | 03-May-2024 | 230 | 10 | 9 | |
.coveragerc | D | 03-May-2024 | 191 | 15 | 12 | |
.gitignore | D | 03-May-2024 | 151 | 18 | 17 | |
.readthedocs.yml | D | 03-May-2024 | 118 | 9 | 8 | |
Android.bp | D | 03-May-2024 | 991 | 32 | 29 | |
CHANGELOG.rst | D | 03-May-2024 | 7.7 KiB | 207 | 140 | |
LICENSE.txt | D | 03-May-2024 | 1.3 KiB | 27 | 22 | |
MANIFEST.in | D | 03-May-2024 | 34 | 3 | 2 | |
METADATA | D | 03-May-2024 | 475 | 20 | 18 | |
MODULE_LICENSE_BSD | D | 03-May-2024 | 0 | |||
NOTICE | D | 03-May-2024 | 1.3 KiB | 27 | 22 | |
OWNERS | D | 03-May-2024 | 210 | 5 | 4 | |
README.rst | D | 03-May-2024 | 1.4 KiB | 37 | 29 | |
backport.py | D | 03-May-2024 | 4.2 KiB | 148 | 103 | |
lastsync.txt | D | 03-May-2024 | 41 | 2 | 1 | |
release.py | D | 03-May-2024 | 2.2 KiB | 93 | 64 | |
setup.cfg | D | 03-May-2024 | 1.5 KiB | 56 | 51 | |
setup.py | D | 03-May-2024 | 242 | 11 | 8 | |
tox.ini | D | 03-May-2024 | 196 | 13 | 10 |
README.rst
1mock is a library for testing in Python. It allows you to replace parts of 2your system under test with mock objects and make assertions about how they 3have been used. 4 5mock is now part of the Python standard library, available as `unittest.mock 6<https://docs.python.org/dev/library/unittest.mock.html>`_ in Python 3.3 7onwards. 8 9This package contains a rolling backport of the standard library mock code 10compatible with Python 2.7 and 3.4 and up. 11 12Please see the standard library documentation for more details. 13 14:Homepage: `Mock Homepage`_ 15:Download: `Mock on PyPI`_ 16:Documentation: `Python Docs`_ 17:License: `BSD License`_ 18:Support: `Mailing list (testing-in-python@lists.idyll.org) 19 <http://lists.idyll.org/listinfo/testing-in-python>`_ 20:Code: `GitHub 21 <https://github.com/testing-cabal/mock>`_ 22:Issue tracker: `GitHub Issues 23 <https://github.com/testing-cabal/mock/issues>`_ 24:Build status: 25 |CircleCI|_ |Docs|_ 26 27 .. |CircleCI| image:: https://circleci.com/gh/testing-cabal/mock/tree/master.svg?style=shield 28 .. _CircleCI: https://circleci.com/gh/testing-cabal/mock/tree/master 29 30 .. |Docs| image:: https://readthedocs.org/projects/mock/badge/?version=latest 31 .. _Docs: http://mock.readthedocs.org/en/latest/ 32 33.. _Mock Homepage: http://mock.readthedocs.org/en/latest/ 34.. _BSD License: https://github.com/testing-cabal/mock/blob/master/LICENSE.txt 35.. _Python Docs: https://docs.python.org/dev/library/unittest.mock.html 36.. _mock on PyPI: https://pypi.org/project/mock/ 37