Skip to content

Commit aa427a9

Browse files
committed
tweaks to get tests for 10 passing
1 parent d16a7d5 commit aa427a9

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

tests/test_chapter_09_docker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def test_listings_and_commands_and_output(self):
3030
# simulate having a db.sqlite3 and a static folder from previous chaps
3131
self.sourcetree.run_command("./manage.py migrate --noinput")
3232
self.sourcetree.run_command("./manage.py collectstatic --noinput")
33-
self.sourcetree.run_command("docker pull python:3.14-rc-slim")
33+
3434
# Hack to be able to pretend that 3.14 is out and we dont have to use the rc
35+
self.sourcetree.run_command("docker pull python:3.14-rc-slim")
3536
self.sourcetree.run_command("docker tag python:3.14-rc-slim python:3.14-slim")
3637

3738
# hack fast-forward

tests/test_chapter_10_production_readiness.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def test_listings_and_commands_and_output(self):
3030
self.skip_with_check(61, "note container id")
3131

3232
# Hack to be able to pretend that 3.14 is out and we dont have to use the rc
33+
# TODO: remove me when real 3.14 is out.
34+
self.sourcetree.run_command("docker pull python:3.14-rc-slim")
3335
self.sourcetree.run_command("docker tag python:3.14-rc-slim python:3.14-slim")
3436

3537
# hack fast-forward, nu way
@@ -46,6 +48,8 @@ def test_listings_and_commands_and_output(self):
4648
"Django==5.2",
4749
"gunicorn==2",
4850
"whitenoise==6.",
51+
# TODO: remove me when real 3.14 is out, and have fed thru cherry-picks
52+
"python:3.14-slim",
4953
]
5054
)
5155
self.assert_all_listings_checked(self.listings)

0 commit comments

Comments
 (0)