Fix tests msg
This commit is contained in:
parent
819ff2a902
commit
85187239b6
@ -3835,7 +3835,7 @@ class QuerySetTest(unittest.TestCase):
|
|||||||
|
|
||||||
queryset.next()
|
queryset.next()
|
||||||
if not queryset:
|
if not queryset:
|
||||||
raise AssertionError('Cursor has data and it must returns False,'
|
raise AssertionError('Cursor has data and it must returns True,'
|
||||||
' even in the last item.')
|
' even in the last item.')
|
||||||
|
|
||||||
self.assertTrue(queryset.has_data(), 'Cursor has data and '
|
self.assertTrue(queryset.has_data(), 'Cursor has data and '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user