Skip to content

AtakamaLLC/tsmock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Example of an atomic mock:

image

About

thread safe pything mocking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages