Skip to content

Commit

Permalink
chore: ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Nov 28, 2024
1 parent 9b79176 commit 1a2f269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/extrinsics/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,5 @@ def test_import_timeout_env_parse(monkeypatch):
# default (not checking exact value, just that it's a value)
monkeypatch.delenv("EXTRINSIC_SUBMISSION_TIMEOUT")
importlib.reload(utils)
assert isinstance(utils.EXTRINSIC_SUBMISSION_TIMEOUT, float) # has a default value
assert utils.EXTRINSIC_SUBMISSION_TIMEOUT > 0 # is positive
assert isinstance(utils.EXTRINSIC_SUBMISSION_TIMEOUT, float) # has a default value
assert utils.EXTRINSIC_SUBMISSION_TIMEOUT > 0 # is positive

0 comments on commit 1a2f269

Please sign in to comment.