mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #26747 -- Corrected a method name in tutorial05.
This commit is contained in:
parent
98385ac73b
commit
7b08e01c13
@ -225,7 +225,7 @@ What happened is this:
|
||||
* in ``test_was_published_recently_with_future_question`` it created a ``Question``
|
||||
instance whose ``pub_date`` field is 30 days in the future
|
||||
|
||||
* ... and using the ``assertEqual()`` method, it discovered that its
|
||||
* ... and using the ``assertIs()`` method, it discovered that its
|
||||
``was_published_recently()`` returns ``True``, though we wanted it to return
|
||||
``False``
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user