Adopt the test fakes #8

Closed
opened 2026-10-08 11:05:13 +02:00 by Tirsvad · 0 comments
Owner

Copy tests/fakes.py from the base: the fake segment, the fake screen and the fake Turtle base class that record their calls, so that every test runs without a display. The fake turtle module is installed before food and scoreboard are imported, because a class that inherits from Turtle needs the module at import time. List every difference from the base in the pull request.

Phase: MIL-002

Copy `tests/fakes.py` from the base: the fake segment, the fake screen and the fake `Turtle` base class that record their calls, so that every test runs without a display. The fake `turtle` module is installed before `food` and `scoreboard` are imported, because a class that inherits from `Turtle` needs the module at import time. List every difference from the base in the pull request. Phase: MIL-002
Tirsvad added this to the MIL-002: Adopt the game milestone 2026-10-08 11:05:13 +02:00
Tirsvad referenced this issue from a commit 2026-10-08 12:31:31 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/021-snake-game#8