Skip to content

Commit

Permalink
tests/integration_tests/test_cli.py remove superfluous --wallet.name …
Browse files Browse the repository at this point in the history
…from test

By using patch() to mock bittensor.wallet, the mechanics of
bittensor.wallet are skipped, including adding the args for parser. They
have no effect and are not recognized, leading to an error.
  • Loading branch information
µ committed Sep 3, 2024
1 parent 8c7d191 commit d7cb599
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/integration_tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2506,8 +2506,6 @@ def test_delegate(self, _):
"delegate",
"--subtensor.network",
"mock", # Mock network
"--wallet.name",
"mock",
"--delegate_ss58key",
delegate_wallet.hotkey.ss58_address,
"--amount",
Expand Down

0 comments on commit d7cb599

Please sign in to comment.