diff --git a/chapter_22_fixtures_and_wait_decorator.asciidoc b/chapter_22_fixtures_and_wait_decorator.asciidoc index 188dc65c..7cee8c8c 100644 --- a/chapter_22_fixtures_and_wait_decorator.asciidoc +++ b/chapter_22_fixtures_and_wait_decorator.asciidoc @@ -406,6 +406,7 @@ def wait(fn): #<1> return modified_fn #<2> ---- ==== +// JAN: Why not use functools.wraps here? <1> A decorator is a way of modifying a function; it takes a function as an [keep-together]#argument...# @@ -503,6 +504,7 @@ $ pass:quotes[*python src/manage.py test functional_tests.test_my_lists*] OK ---- +// JAN: This command runs no tests foe me - Ran 0 tests in 0.000s And do you know what's truly satisfying? We can use our `wait` decorator for our `self.wait_for` helper as well!