﻿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
30886	Bug in TestCase tutorial	Jan Zimmermann	nobody	"in https://docs.djangoproject.com/en/2.2/intro/tutorial05/ 

you create a function to create a Question object 

{{{
def create_question(question_text, days):
    """"""
    Create a question with the given `question_text` and published the
    given number of `days` offset to now (negative for questions published
    in the past, positive for questions that have yet to be published).
    """"""
    time = timezone.now() + datetime.timedelta(days=days)
    return Question.objects.create(question_text=question_text, pub_date=time)
}}}

But there is no save() call. when testing the polls app it always returns an empty query set which leads to a failed assertQuerysetEqual()
"	Uncategorized	closed	Documentation	2.2	Normal	invalid	TestCase		Unreviewed	0	0	0	0	0	0
