Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
docs/ | 03-May-2024 | - | 406 | 178 | ||
mock/ | 03-May-2024 | - | 8,121 | 5,942 | ||
tools/ | 03-May-2024 | - | 76 | 36 | ||
.gitignore | D | 03-May-2024 | 172 | 21 | 20 | |
.testr.conf | D | 03-May-2024 | 145 | 5 | 4 | |
.travis.yml | D | 03-May-2024 | 532 | 27 | 24 | |
LICENSE.txt | D | 03-May-2024 | 1.3 KiB | 27 | 22 | |
METADATA | D | 03-May-2024 | 475 | 20 | 18 | |
MODULE_LICENSE_BSD | D | 03-May-2024 | 0 | |||
NEWS | D | 03-May-2024 | 3 KiB | 80 | 53 | |
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.2 KiB | 30 | 24 | |
extendmock.py | D | 03-May-2024 | 34 | 2 | 0 | |
mock.wpr | D | 03-May-2024 | 1.2 KiB | 27 | 21 | |
requirements.txt | D | 03-May-2024 | 217 | 7 | 6 | |
setup.cfg | D | 03-May-2024 | 1.3 KiB | 42 | 38 | |
setup.py | D | 03-May-2024 | 126 | 7 | 4 | |
tox.ini | D | 03-May-2024 | 408 | 22 | 18 | |
unittest.cfg | D | 03-May-2024 | 1.7 KiB | 96 | 76 |
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.3 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:Issue tracker: `GitHub Issues 21 <https://github.com/testing-cabal/mock/issues>`_ 22:Build status: 23 .. image:: https://travis-ci.org/testing-cabal/mock.svg?branch=master 24 :target: https://travis-ci.org/testing-cabal/mock 25 26.. _Mock Homepage: https://github.com/testing-cabal/mock 27.. _BSD License: http://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: http://pypi.python.org/pypi/mock 30