mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Used more specific unittest assertions in tests.
This commit is contained in:
committed by
Mariusz Felisiak
parent
7309393c3a
commit
c51bf80d56
@@ -241,7 +241,7 @@ class NonAggregateAnnotationTestCase(TestCase):
|
||||
),
|
||||
rating_count=Count('rating'),
|
||||
).first()
|
||||
self.assertEqual(book.isnull_pubdate, False)
|
||||
self.assertIs(book.isnull_pubdate, False)
|
||||
self.assertEqual(book.rating_count, 1)
|
||||
|
||||
@skipUnlessDBFeature('supports_boolean_expr_in_select_clause')
|
||||
|
||||
Reference in New Issue
Block a user