Skip to main content
Project generated with PyScaffold PyPI-Server GitHub Test CI Monthly Downloads

mock-call-where

A short little plugin to find where a mock was called!

How to Use

This library is setup as a pytest plugin, so if you’re using pytest you can just add the mock_where fixture in your tests. If you’d like to always have it enabled…

Manually Enabling/Disabling

from mock_call_where.override import AdvancedCall

AdvancedCall.apply()
...  # The plugin is enabled now
AdvancedCall.unapply()

Making Changes & Contributing

This project uses pre-commit, please make sure to install it before making any changes:

pip install pre-commit
cd mock-call-where
pre-commit install

It is a good idea to update the hooks to the latest version:

pre-commit autoupdate

Don’t forget to tell your contributors to also install and use pre-commit.

Note

This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.

Release files for mock-call-where 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mock-call-where 1.0.2
File Size Uploaded
mock_call_where-1.0.2.tar.gz 22.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mock-call-where 1.0.2
File Interpreter ABI Platform
mock_call_where-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 kB

Release files / mock_call_where-1.0.2.tar.gz

Download URL mock_call_where-1.0.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b61bc50b03af8fc2afe48e08739d40a2561ccfe9eca30cd91473d48123f54d07
BLAKE2b-256 checksum
How to use checksums
e9c46054f455853f13f68bce1a62077be513cab93ad32e307e8c05e2df7f1d32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / mock_call_where-1.0.2-py3-none-any.whl

Download URL mock_call_where-1.0.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bcccc437ac6fd104ff7e189db3ba356139eea750732ca19e93f482f27717541
BLAKE2b-256 checksum
How to use checksums
0133e4ab79c74f2ee2b7d580373827497846cd41eb7c7ef7c2569b7075a320fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page