Files
018-turtle/tests/test_constants.py
T
Tirsvad b3153b9dc1
CI / checks (pull_request) Successful in 1m13s
Add the command line entry point
python -m turtle_challenges <challenge> and the turtle-challenges command open a
window, run the named challenge and wait for a click. square and dashed-line are
registered; a missing Tk is reported with a hint instead of a traceback.

Task: MIL-002#6
2026-10-07 23:58:56 +08:00

6 lines
170 B
Python

from turtle_challenges import constants
def test_challenge_names_are_unique() -> None:
assert len(set(constants.CHALLENGE_NAMES)) == len(constants.CHALLENGE_NAMES)