Skip to content

Commit 0f8d278

Browse files
authored
Merge pull request #2693 from EricHasegawa/master
fix: typos in config test
2 parents 4ea2a13 + f355b9c commit 0f8d278

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit_tests/test_config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
def test_py_config_parsed_successfully_rust_wallet():
66
"""Verify that python based config object is successfully parsed with rust-based wallet object."""
7-
# Preps
87
parser = argparse.ArgumentParser()
98

109
bittensor.wallet.add_args(parser)
@@ -14,7 +13,7 @@ def test_py_config_parsed_successfully_rust_wallet():
1413

1514
config = bittensor.config(parser)
1615

17-
# since we can't apply mocking to rust implewmented object then replace those directly
16+
# override config manually since we can't apply mocking to rust objects easily
1817
config.wallet.name = "new_wallet_name"
1918
config.wallet.hotkey = "new_hotkey"
2019
config.wallet.path = "/some/not_default/path"

0 commit comments

Comments
 (0)