Skip to content

Commit aab0cd8

Browse files
committed
fix minor whitespace issue in commit history
1 parent 7057af7 commit aab0cd8

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

chapter_working_incrementally.asciidoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,6 @@ But we can fix it in 'list.html', as well as adjusting the form's POST action:
20682068
[source,html]
20692069
----
20702070
<form method="POST" action="/lists/{{ list.id }}/add_item"> <1>
2071-
20722071
[...]
20732072
20742073
{% for item in list.item_set.all %} <2>

tests/test_chapter_working_incrementally.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def test_listings_and_commands_and_output(self):
3636
# hack fast-forward
3737
skip = False
3838
if skip:
39-
self.pos = 99
39+
self.pos = 124
4040
self.sourcetree.run_command(
41-
"git checkout {}".format(self.sourcetree.get_commit_spec("ch07l034"))
41+
"git checkout {}".format(self.sourcetree.get_commit_spec("ch07l041"))
4242
)
4343

4444
while self.pos < touch_pos:
@@ -57,8 +57,8 @@ def test_listings_and_commands_and_output(self):
5757
print(self.pos)
5858
self.recognise_listing_and_process_it()
5959

60+
self.check_final_diff(ignore=["moves", "Generated by Django 4.2."])
6061
self.assert_all_listings_checked(self.listings)
61-
self.check_final_diff(ignore=["moves", "Generated by Django 4.1"])
6262

6363

6464
if __name__ == "__main__":

0 commit comments

Comments
 (0)