Skip to content

Commit ec34bba

Browse files
remove unused code
1 parent b51210a commit ec34bba

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

tests/unit_tests/test_subtensor_new.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -639,35 +639,6 @@ def test_get_stake_for_coldkey(mock_substrate, subtensor, mocker):
639639
)
640640

641641

642-
# def test_get_vote_data(substrate, subtensor, mocker):
643-
# substrate.query.return_value = {
644-
# "ayes": [
645-
# tuple(bytearray(32)),
646-
# ],
647-
# "end": 10,
648-
# "index": 1,
649-
# "nays": [],
650-
# "threshold": 5,
651-
# }
652-
653-
# result = subtensor.get_vote_data("proposal_hash")
654-
655-
# assert result == ProposalVoteData(
656-
# ayes=[],
657-
# end=10,
658-
# index=1,
659-
# nays=[],
660-
# threshold=5,
661-
# )
662-
663-
# substrate.query.assert_called_once_with(
664-
# module="Triumvirate",
665-
# storage_function="Voting",
666-
# params=["proposal_hash"],
667-
# block_hash=None,
668-
# )
669-
670-
671642
def test_filter_netuids_by_registered_hotkeys(
672643
mock_substrate, subtensor, wallet, mocker
673644
):

0 commit comments

Comments
 (0)