﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34626	"Documentation: ""Writing your first patch for Django"" - Example test file ""test_make_toast.py"" is not loaded by test suite"	Lukas von Allmen	Lukas von Allmen	"While going through the documentation for [https://docs.djangoproject.com/en/dev/intro/contributing/#writing-some-tests-for-your-ticket ""Writing your first patch for Django - Writing a test for ticket #99999""], I created the file ""test_make_toast.py"" and after executing ""./runtests.py shortcuts"" the test run still succeeds. At this point in the walkthrough the tests should file with the error message ""ImportError: cannot import name 'make_toast' from 'django.shortcuts'"". It turned out the word ""test"" in the file name ""test_make_toast.py"" must be in plural to be loaded by the test suite: ""tests_make_toast.py"".

Solution:
Rename ""test_make_toast.py"" to ""tests_make_toast.py"" on this documentation page.


"	Cleanup/optimization	closed	Documentation	dev	Normal	invalid			Unreviewed	1	0	0	0	1	0
