Skip to content
Sections
>> Trisquel >> Paket >> ecne (12.0LTS) >> python >> python3-kgb
[  ecne  ] [  xolotl  ]
[ Källkod: python-kgb  ]

Paket: 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.

Andra paket besläktade med python3-kgb

  • beror
  • rekommenderar
  • föreslår
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Hämta python3-kgb

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 52,7 kbyte337 kbyte [filförteckning]