Testix
12.0.1

Contents:

  • Reference
    • Basic Usage: Scenarios and Fake Objects
    • Less Strict Expectations
    • Context Manager Expectations
    • Advanced Argument Expectations
    • Hooks
    • AsyncIO Support
  • Tutorial
Testix
  • Docs »
  • Reference
  • Edit on GitHub

Reference¶

  • Basic Usage: Scenarios and Fake Objects
    • Scenarios and Fake Objects
    • More Complex Expectations
    • Overriding Imported Modules With Fake Objects
      • Using patch_module To Mock Builtin Objects
      • Using patch_module With Arbitrary Values
    • The Most Common Ways To Create Fake Objects
  • Less Strict Expectations
    • Less Specific Arguments
    • Unordered Expectations
    • Everlasting Expectations
  • Context Manager Expectations
  • Advanced Argument Expectations
    • Ignoring A Specific Argument
    • Ignoring All Call Details
    • Testing for Object Identity
    • Raising Exceptions
    • Capturing Arguments
    • Implementing Arbitrary Argument Matching
  • Hooks
  • AsyncIO Support
    • AsyncIO Expectations
    • AsyncIO Context Managers
Next Previous

© Copyright 2022, Yoav Kleinberger. Revision 188fe75d.

Built with Sphinx and ❤️ using a custom theme based on Read the Docs.