Skip to content

Commit

Permalink
Reverted correction in test_many_posts to match hints
Browse files Browse the repository at this point in the history
  • Loading branch information
macro1 committed Nov 22, 2014
1 parent 955bb7e commit d6ba14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/07-templatetags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ case also:
.. code-block:: python
def test_many_posts(self):
for n in range(1, 6):
for n in range(6):
Entry.objects.create(author=self.user, title="Post #{0}".format(n))
rendered = self.TEMPLATE.render(Context({}))
self.assertIn("Post #5", rendered)
Expand Down

0 comments on commit d6ba14a

Please sign in to comment.