1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed various tests on MySQL with MyISAM storage engine.

This commit is contained in:
Mariusz Felisiak
2022-04-14 12:54:27 +02:00
parent 331a460f8f
commit 8e89dfe1c2
8 changed files with 54 additions and 34 deletions

View File

@@ -310,7 +310,7 @@ class RawQueryTests(TestCase):
("book_count", 1),
("book_count", 0),
)
authors = Author.objects.all()
authors = Author.objects.order_by("pk")
self.assertSuccessfulRawQuery(Author, query, authors, expected_annotations)
def test_white_space_query(self):