Skip to content

Commit 5304b33

Browse files
author
Javier Palacios
committed
Fix distinct=True test
1 parent 14219c4 commit 5304b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testapp/test_aggregates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_application_order(self):
111111
out = Author.objects.exclude(id=self.shakes.id).aggregate(
112112
tids=GroupConcat("tutor_id", distinct=True)
113113
)
114-
assert out == {"tids": str(self.shakes.id)}
114+
assert out == {"tids": set(str(self.shakes.id))}
115115

116116
@override_mysql_variables(SQL_MODE="ANSI")
117117
def test_separator_ansi_mode(self):

0 commit comments

Comments
 (0)