Posts Categorized Under

Testing

  1. Python Mocking 101: Fake It Before You Make It

    Mike Lin
    Mike Lin

    Senior Software Engineer

    In Python, mocking is accomplished through the unittest.mock module. The module contains a number of useful classes and functions, the most important of which are the patch function (as decorator and context manager) and the MagicMock class. Mocking in Python is largely accomplished through the use of these two powerful components.

Take Control of Your Cloud Today

You and your team can be productive with Fugue on AWS in less than an hour, without the need for professional services.