From 2162f0983de0dfe2178531638ce7ea56f54dd4e7 Mon Sep 17 00:00:00 2001 From: Matthew Wilkes Date: Sun, 18 Jun 2017 16:53:40 +0100 Subject: Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields). --- tests/backends/base/test_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/backends') diff --git a/tests/backends/base/test_operations.py b/tests/backends/base/test_operations.py index e83857500d..510436f0d4 100644 --- a/tests/backends/base/test_operations.py +++ b/tests/backends/base/test_operations.py @@ -17,7 +17,7 @@ class DatabaseOperationTests(SimpleTestCase): def test_distinct_on_fields(self): msg = 'DISTINCT ON fields is not supported by this database backend' with self.assertRaisesMessage(NotSupportedError, msg): - self.ops.distinct_sql(['a', 'b']) + self.ops.distinct_sql(['a', 'b'], None) def test_deferrable_sql(self): self.assertEqual(self.ops.deferrable_sql(), '') -- cgit v1.3