Skip to content

Commit

Permalink
Fix config updated check
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Jul 11, 2024
1 parent b72ef1c commit 6310af1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/schains/checks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,11 @@ def test_config_updated(skale, rule_controller, schain_db, current_nodes, estate
rule_controller=rule_controller,
stream_version=CONFIG_STREAM,
current_nodes=current_nodes,
last_dkg_successful=True,
last_dkg_successful=False,
estate=estate,
dutils=dutils
)
assert checks.last_dkg_successful is False
assert checks.last_dkg_successful.status is False
assert checks.config_updated

upstream_path = UpstreamConfigFilename(
Expand Down Expand Up @@ -481,5 +481,5 @@ def test_config_updated(skale, rule_controller, schain_db, current_nodes, estate
estate=estate,
dutils=dutils
)
assert checks.last_dkg_successful is True
assert checks.last_dkg_successful.status is True
assert not checks.config_updated

0 comments on commit 6310af1

Please sign in to comment.