From be5487cb4cf7864130123dff74fc4aed55d80d5d Mon Sep 17 00:00:00 2001 From: Stefan Borer Date: Wed, 22 Jul 2020 15:03:56 +0200 Subject: [PATCH] fix(test): sort the groups jexl Remove sensitivity for order to fix flaky tests. --- caluma/caluma_workflow/jexl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/caluma/caluma_workflow/jexl.py b/caluma/caluma_workflow/jexl.py index d3a8a6048..5e7126b73 100644 --- a/caluma/caluma_workflow/jexl.py +++ b/caluma/caluma_workflow/jexl.py @@ -62,9 +62,10 @@ def __init__( context_data = {"info": validation_context} self.context = Context(context_data) + self.add_transform( "groups", - lambda names: list( + lambda names: sorted( set( chain( *[