Keep abtest children in a consistent order (makes testing easier)
This commit is contained in:
@@ -101,6 +101,7 @@ class ABTestDescriptor(RawDescriptor, XmlDescriptor):
|
||||
raise InvalidDefinitionError("ABTest portions must add up to less than or equal to 1")
|
||||
|
||||
definition['data']['group_portions'][DEFAULT] = default_portion
|
||||
definition['children'].sort()
|
||||
|
||||
return definition
|
||||
|
||||
|
||||
Reference in New Issue
Block a user