[ 原始碼: python-kgb ]
套件:python3-kgb(7.1.1-2)
Utilities for spying on function calls in Python unit tests
Spies intercept and record calls to functions. They can report on how many times a function was called and with what arguments. They can allow the function call to go through as normal, to block it, or to reroute it to another function.
Spies are like mocks, but better. You're not mocking the world. You're replacing very specific function logic, or listening to functions without altering them.
其他與 python3-kgb 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)