From 754faefdda32727cacbaadeb3b5d40f5a20b6e3d Mon Sep 17 00:00:00 2001 From: ktozer Date: Wed, 4 Mar 2020 13:42:55 -0800 Subject: [PATCH] Edited chapter_13_dependency_injection.asciidoc with Atlas code editor --- chapter_13_dependency_injection.asciidoc | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/chapter_13_dependency_injection.asciidoc b/chapter_13_dependency_injection.asciidoc index c971f0f3..2522b824 100644 --- a/chapter_13_dependency_injection.asciidoc +++ b/chapter_13_dependency_injection.asciidoc @@ -30,6 +30,20 @@ If you haven't already, it's worth reading <> .Without bootstrap: entrypoints do a lot image::images/apwp_1301.png[] +[TIP] +==== +The code for this chapter is in the +chapter_13_dependency_injection branch https://oreil.ly/-B7e6[on GitHub]: + +---- +git clone https://github.com/cosmicpython/code.git +cd code +git checkout chapter_13_dependency_injection +# or to code along, checkout the previous chapter: +git checkout chapter_12_cqrs +---- +==== + <> shows our bootstrapper taking over those responsibilities. @@ -45,20 +59,6 @@ feeling of unease at the back of your mind at this point.((("dependency injectio into the open. We've shown you two ways of managing dependencies and testing them. -[TIP] -==== -The code for this chapter is in the -chapter_13_dependency_injection branch https://oreil.ly/-B7e6[on GitHub]: - ----- -git clone https://github.com/cosmicpython/code.git -cd code -git checkout chapter_13_dependency_injection -# or to code along, checkout the previous chapter: -git checkout chapter_12_cqrs ----- -==== - For our database dependency, we've built a careful framework of explicit dependencies and easy options for overriding them in tests. Our main handler