summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosh Smeaton <josh.smeaton@gmail.com>2015-03-17 11:38:55 +1100
committerTim Graham <timograham@gmail.com>2015-03-17 08:40:45 -0400
commita0cebe82b532672d9e293c058f76711d2fcc6863 (patch)
treeae78336160dcdea9a796dd6880d6b148e15b1f80 /tests
parent34e09e532da41d56d3ba68babd05c4fd848abaa2 (diff)
[1.8.x] Refs #24485 -- Renamed some expression types
Backport of 88d798d71a20662bdf5335f0586fb9eb6e660c57 from master
Diffstat (limited to 'tests')
-rw-r--r--tests/expressions/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index 6297d68095..ae2134e964 100644
--- a/tests/expressions/tests.py
+++ b/tests/expressions/tests.py
@@ -854,7 +854,7 @@ class ReprTests(TestCase):
self.assertEqual(repr(Date('published', 'exact')), "Date(published, exact)")
self.assertEqual(repr(DateTime('published', 'exact', utc)), "DateTime(published, exact, %s)" % utc)
self.assertEqual(repr(F('published')), "F(published)")
- self.assertEqual(repr(F('cost') + F('tax')), "<Expression: F(cost) + F(tax)>")
+ self.assertEqual(repr(F('cost') + F('tax')), "<CombinedExpression: F(cost) + F(tax)>")
self.assertEqual(repr(Func('published', function='TO_CHAR')), "Func(F(published), function=TO_CHAR)")
self.assertEqual(repr(OrderBy(Value(1))), 'OrderBy(Value(1), descending=False)')
self.assertEqual(repr(Random()), "Random()")