We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ea2a13 + f355b9c commit 0f8d278Copy full SHA for 0f8d278
tests/unit_tests/test_config.py
@@ -4,7 +4,6 @@
4
5
def test_py_config_parsed_successfully_rust_wallet():
6
"""Verify that python based config object is successfully parsed with rust-based wallet object."""
7
- # Preps
8
parser = argparse.ArgumentParser()
9
10
bittensor.wallet.add_args(parser)
@@ -14,7 +13,7 @@ def test_py_config_parsed_successfully_rust_wallet():
14
13
15
config = bittensor.config(parser)
16
17
- # since we can't apply mocking to rust implewmented object then replace those directly
+ # override config manually since we can't apply mocking to rust objects easily
18
config.wallet.name = "new_wallet_name"
19
config.wallet.hotkey = "new_hotkey"
20
config.wallet.path = "/some/not_default/path"
0 commit comments