Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Oct 23, 2024
1 parent 88ae666 commit 9d4c908
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/py/flwr/server/superlink/linkstate/linkstate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_create_and_get_run(self) -> None:
assert run.run_id == run_id
assert run.fab_hash == "9f86d08"
assert run.override_config["test_key"] == "test_value"

def test_get_pending_run_id(self) -> None:
"""Test if get_pending_run_id works correctly."""
# Prepare
Expand All @@ -77,6 +77,7 @@ def test_get_pending_run_id(self) -> None:

# Execute
pending_run_id = state.get_pending_run_id()
assert pending_run_id is not None
run_status_dict = state.get_run_status({pending_run_id})
assert run_status_dict[pending_run_id].status == Status.PENDING

Expand Down

0 comments on commit 9d4c908

Please sign in to comment.