Commit ef08e711 authored by's avatar
Browse files

fix in case only one type is tested

branch : tls-sprint
parent 4f4e0c6682e5
......@@ -249,9 +249,11 @@ class WebTest(EnvBasedTC):
etypes = self.to_test_etypes()
for etype in etypes:
yield self.execute('Any X LIMIT %s WHERE X is %s' % (limit, etype))
etype1 = etypes.pop()
etype2 = etypes.pop()
etype2 = etypes.pop()
except KeyError:
etype2 = etype1
# test a mixed query (DISTINCT/GROUP to avoid getting duplicate
# X which make muledit view failing for instance (html validation fails
# because of some duplicate "id" attributes)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment