Skip to content

Commit d6ad889

Browse files
committed
improve
1 parent 8210136 commit d6ad889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/autoscaling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
def assert_cluster_state(
2020
spied_cluster_analysis: MockType, *, expected_calls: int, expected_num_machines: int
21-
) -> None:
21+
) -> Cluster:
2222
assert spied_cluster_analysis.call_count > 0
2323

2424
assert isinstance(spied_cluster_analysis.spy_return, Cluster)
@@ -27,6 +27,7 @@ def assert_cluster_state(
2727
== expected_num_machines
2828
)
2929
print("current cluster state:", spied_cluster_analysis.spy_return)
30+
return spied_cluster_analysis.spy_return
3031

3132

3233
def create_fake_association(

0 commit comments

Comments
 (0)