Skip to content

Commit

Permalink
Fixing failing test of blog/entry counts when running with sqlite --
Browse files Browse the repository at this point in the history
thanks to @tmoertel for the excellent report on why this was broken
  • Loading branch information
coleifer committed May 10, 2012
1 parent 158a23d commit eb91835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def test_count(self):
count = Blog.select().count()
self.assertEqual(count, 10)

for blog in SelectQuery(Blog):
for blog in list(SelectQuery(Blog)):
for i in xrange(20):
self.create_entry(title='entry%d' % i, blog=blog)

Expand Down

0 comments on commit eb91835

Please sign in to comment.