Skip to content
Sections
>> Trisquel >> Balíky >> ecne (12.0LTS) >> python >> python3-kgb
[  ecne  ] [  xolotl  ]
[ Zdroj: python-kgb  ]

Balík: 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.

Ostatné balíky súvisiace s balíkom python3-kgb

  • závisí
  • odporúča
  • navrhuje
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Stiahnuť python3-kgb

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 52.7 kB337 kB [zoznam súborov]