The devel/py-mock,python3 port
py3-mock-4.0.3p3 – python mocking and patching library for testing (cvsweb github mirror)
Description
mock is a Python module that provides a core Mock class. It removes the need to create a host of stubs throughout your test suite. After performing an action, you can make assertions about which methods or attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way. The mock module also provides utility functions / objects to assist with testing, particularly monkey patching. This module backports mock to Python 2.7 and earlier versions of Python 3.xWWW: https://mock.readthedocs.io/en/latest/
Maintainer
Kurt Mosiejczuk
Categories
Build dependencies
Run dependencies
Test dependencies
Reverse dependencies
- archivers/py-libarchive-c
- audio/beets
- audio/py-mpd2
- databases/barman
- databases/py-influxdb
- databases/py-mysqlclient
- databases/py-redis
- databases/py-sqlalchemy
- databases/py-whisper
- devel/bpython
- devel/git-cola
- devel/py-buildslave
- devel/py-cloudpickle
- devel/py-curtsies
- devel/py-dulwich
- devel/py-fixtures
- devel/py-html5lib
- devel/py-objgraph
- devel/py-python-lsp-server
- devel/py-schema
- devel/py-sure
- devel/py-test
- devel/py-test-mock
- devel/py-transitions
- devel/py-tzlocal
- devel/py-wbem
- games/unknown-horizons
- geo/py-planet
- geo/py-proj
- geo/py-rasterio
- graphics/py-qrcode
- math/py-graphviz
- multimedia/streamlink
- net/aggregate6
- net/magic-wormhole
- net/py-botocore
- net/py-eapi
- net/py-libcloud
- net/py-python-lsp-jsonrpc
- net/py-ripe.atlas.tools
- net/py-tlslite-ng
- net/synapse
- productivity/gtg
- security/plaso
- security/py-dfdatetime
- security/py-dfvfs
- security/py-dfwinreg
- security/py-duo_client
- security/py-duo_universal
- security/py-oauthlib
- security/py-paramiko
- security/py-passlib
- security/py-tlsfuzzer
- sysutils/ansible-core
- sysutils/duplicity
- sysutils/fabric
- sysutils/py-dotenv
- sysutils/py-schedule
- sysutils/py-vmomi
- sysutils/salt-testing
- textproc/py-cssutils
- textproc/py-sphinx
- www/odoo
- www/py-beaker
- www/py-betamax
- www/py-bokeh
- www/py-httpie
- www/py-requests-cache
- www/py-requests-oauthlib
- www/py-requests-toolbelt
- www/py-responses
- www/py-urllib3
- www/py-vcrpy
- www/py-webtest
- www/tuir
- www/woob
- x11/py-qtpy
- x11/py-xlib
Files
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/LICENSE.txt
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/METADATA
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/RECORD
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/WHEEL
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/top_level.txt
- /usr/local/lib/python3.11/site-packages/mock/
- /usr/local/lib/python3.11/site-packages/mock/__init__.py
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/backports.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/backports.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/mock.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/mock.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/mock/backports.py
- /usr/local/lib/python3.11/site-packages/mock/mock.py