diff options
Diffstat (limited to 'tests/annotations/tests.py')
| -rw-r--r-- | tests/annotations/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index b3b0e5d703..5106a377ac 100644 --- a/tests/annotations/tests.py +++ b/tests/annotations/tests.py @@ -486,6 +486,7 @@ class NonAggregateAnnotationTestCase(TestCase): book2 = Book.objects.annotate(adjusted_rating=None + F("rating")).get( pk=self.b1.pk ) + self.assertIs(book1.adjusted_rating, None) self.assertEqual(book1.adjusted_rating, book2.adjusted_rating) def test_update_with_annotation(self): |
