Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-opentensor committed Dec 17, 2024
1 parent 6818651 commit 6b7eac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/test_subtensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2548,7 +2548,7 @@ def test_get_delegates_success(mocker, subtensor):
fake_block = 123
fake_block_hash = "0xabc123"
fake_json_body = {
"result": "mock_encoded_delegates",
"result": b"mock_encoded_delegates",
}

# Mocks
Expand Down Expand Up @@ -2616,7 +2616,7 @@ def test_get_delegates_latest_block(mocker, subtensor):
"""Test when no block is provided (latest block)."""
# Mock data
fake_json_body = {
"result": "mock_encoded_delegates",
"result": b"mock_encoded_delegates",
}

# Mocks
Expand Down

0 comments on commit 6b7eac4

Please sign in to comment.