Skip to content

Commit

Permalink
whitespace tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwp committed Jul 16, 2018
1 parent 53147da commit da3f936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions chapter_fixtures_and_wait_decorator.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,12 @@ works against the database on the staging server too.




[role="pagebreak-before less_space"]
.Django Sessions: How a User's Cookies Tell the Server She Is Authenticated
**********************************************************************
'Being an attempt to explain sessions, cookies, and authentication in Django.'
((("authentication", "cookies and")))Because
HTTP is stateless, servers need a way of recognising different clients
with 'every single request'. IP addresses can be shared, so the usual
Expand Down
3 changes: 2 additions & 1 deletion chapter_mocking.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,8 @@ from unittest.mock import patch, call
are so convenient, compared to trying to build your own.

<4> Now, instead of "unpacking" the call args, we use the `call` function
for a neater way of saying what it should have been called with-- that is, the token from the GET request. (See the following sidebar.)
for a neater way of saying what it should have been called with--that is,
the token from the GET request. (See the following sidebar.)

[role="less_space pagebreak-before"]
.On Mock call_args
Expand Down

0 comments on commit da3f936

Please sign in to comment.