From 9bd2639e4bfd5f31dca576c3d45e1ef6bd6fc051 Mon Sep 17 00:00:00 2001 From: Roy Willy Haug <5484176+roywilly@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:27:19 +0200 Subject: [PATCH] Adapt to new aggregation rules; must have more than 1 realization --- tests/test_access/tst_access_drogon_manage_login.py | 4 ++-- tests/test_access/tst_access_drogon_read_login.py | 4 ++-- tests/test_access/tst_access_drogon_write_login.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_access/tst_access_drogon_manage_login.py b/tests/test_access/tst_access_drogon_manage_login.py index 0c89b42e..507830d5 100644 --- a/tests/test_access/tst_access_drogon_manage_login.py +++ b/tests/test_access/tst_access_drogon_manage_login.py @@ -103,7 +103,7 @@ def test_aggregations_bulk(explorer: Explorer): assert len(cases) > 0 case = None for c in cases: - if len(c.iterations) > 0 and len(c.surfaces) > 40: + if len(c.iterations) > 1 and len(c.surfaces) > 40: case = c break assert case @@ -128,7 +128,7 @@ def test_aggregations_fast(explorer: Explorer): assert len(cases) > 0 case = None for c in cases: - if len(c.iterations) > 0 and len(c.surfaces) > 40: + if len(c.iterations) > 1 and len(c.surfaces) > 40: case = c break assert case diff --git a/tests/test_access/tst_access_drogon_read_login.py b/tests/test_access/tst_access_drogon_read_login.py index ed87f363..4fce7dda 100644 --- a/tests/test_access/tst_access_drogon_read_login.py +++ b/tests/test_access/tst_access_drogon_read_login.py @@ -103,7 +103,7 @@ def test_aggregations_fast(explorer: Explorer): assert len(cases) > 0 case = None for c in cases: - if len(c.iterations) > 0 and len(c.surfaces) > 40: + if len(c.iterations) > 1 and len(c.surfaces) > 40: case = c break assert case @@ -133,7 +133,7 @@ def test_aggregate_bulk(explorer: Explorer): assert len(cases) > 0 case = None for c in cases: - if len(c.iterations) > 0 and len(c.surfaces) > 40: + if len(c.iterations) > 1 and len(c.surfaces) > 40: case = c break assert case diff --git a/tests/test_access/tst_access_drogon_write_login.py b/tests/test_access/tst_access_drogon_write_login.py index 8e222569..1bc2563e 100644 --- a/tests/test_access/tst_access_drogon_write_login.py +++ b/tests/test_access/tst_access_drogon_write_login.py @@ -103,7 +103,7 @@ def test_aggregate_bulk(explorer: Explorer): assert len(cases) > 0 case = None for c in cases: - if len(c.iterations) > 0 and len(c.surfaces) > 40: + if len(c.iterations) > 1 and len(c.surfaces) > 40: case = c break assert case @@ -128,7 +128,7 @@ def test_aggregations_fast(explorer: Explorer): assert len(cases) > 0 case = None for c in cases: - if len(c.iterations) > 0 and len(c.surfaces) > 40: + if len(c.iterations) > 1 and len(c.surfaces) > 40: case = c break assert case