This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Python unittest.mock As you test your Python code, there will be operations which are slow and painful to test. These are usually bits of code that do things with the filesystem or involve network access. unittest.mock provides a way to mimic these bits of ‘slow’ code, so that your test suite can run fast, or to prevent you from having to write very complex tests. Installation After Python version…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.