Skip to content

Commit e9e577c

Browse files
committed
feat(tests): add min_amount parameter to pool_user functions
Added a `min_amount` parameter to `pool_user`, `pool_user_lg`, and `pool_user_ug` functions in `test_committee.py`. This ensures better control over minimum required amounts for testing scenarios.
1 parent 51195a1 commit e9e577c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cardano_node_tests/tests/tests_conway/test_committee.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ def pool_user(
6767
cluster_manager=cluster_manager,
6868
cluster_obj=cluster,
6969
caching_key=key,
70+
amount=350_000_000,
71+
min_amount=250_000_000,
7072
)
7173

7274

@@ -84,7 +86,8 @@ def pool_user_lg(
8486
cluster_manager=cluster_manager,
8587
cluster_obj=cluster,
8688
caching_key=key,
87-
amount=500_000_000,
89+
amount=400_000_000,
90+
min_amount=350_000_000,
8891
)
8992

9093

@@ -103,6 +106,7 @@ def pool_user_ug(
103106
cluster_obj=cluster,
104107
caching_key=key,
105108
amount=300_000_000,
109+
min_amount=250_000_000,
106110
)
107111

108112

0 commit comments

Comments
 (0)