Skip to content

Commit

Permalink
Adapt nightly tests to new aggregation rules; must have more than 1 r…
Browse files Browse the repository at this point in the history
…ealization (#318)

* Adapt to new aggregation rules; must have more than 1 realization
  • Loading branch information
roywilly authored Apr 26, 2024
1 parent 3c19216 commit 576140b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/test_access/tst_access_drogon_manage_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.get_realizations()) > 1 and len(c.surfaces) > 40:
case = c
break
assert case
Expand All @@ -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.get_realizations()) > 1 and len(c.surfaces) > 40:
case = c
break
assert case
Expand Down
4 changes: 2 additions & 2 deletions tests/test_access/tst_access_drogon_read_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.get_realizations()) > 1 and len(c.surfaces) > 40:
case = c
break
assert case
Expand Down Expand Up @@ -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.get_realizations()) > 1 and len(c.surfaces) > 40:
case = c
break
assert case
Expand Down
4 changes: 2 additions & 2 deletions tests/test_access/tst_access_drogon_write_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.get_realizations()) > 1 and len(c.surfaces) > 40:
case = c
break
assert case
Expand All @@ -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.get_realizations()) > 1 and len(c.surfaces) > 40:
case = c
break
assert case
Expand Down

0 comments on commit 576140b

Please sign in to comment.