Thread safe wrapper around unittest.mock
Project description
tsmock
Thread safe pything mocking wrapper around unittest.mock
Either monkey patch all mock classes:
from tsmock import thread_safe_mocks
thread_safe_mocks()
Or use a single mock class as needed:
from tsmock import MagicMock
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tsmock-0.1.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
tsmock-0.1.2-py3-none-any.whl
(1.8 kB
view hashes)