Home
Press ? for keyboard navigation
❮
Traditional xUnit fixtures
Temporary directory - tmpdir
❯
Dependency Injection
Use introspection to find out what a method needs
Pass in the right arguments
examples/other-mocking/dependency-injection.py
def
do_something
(
name
,
age
):
pass
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)