Testix
10.3.2
Contents:
Reference
Basic Usage: Scenarios and Fake Objects
Less Strict Expectations
Context Manager Expectations
Advanced Argument Expectations
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
Context Manager Expectations
Advanced Argument Expectations
Ignoring The Call Details
Testing for Object Identity
Capturing Arguments
Implementing Arbitrary Argument Matching
AsyncIO Support
AsyncIO Expectations
AsyncIO Context Managers
Read the Docs
v: 10.3.2
Versions
latest
stable
10.3.2
10.3.1
10.3.0
10.2.1
10.2.0
10.1.0
10.0.0
9.1.1
9.1.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.